forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
35
dev.docker-compose.yml
Normal file
35
dev.docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: dev.Dockerfile
|
||||
container_name: yara724-main-api-dev
|
||||
image: yara724-main-api:dev
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- yara724-main-api-dev-files:/app/files/:rw
|
||||
env_file:
|
||||
- .development.env
|
||||
#environment:
|
||||
# - "MONGODB_USERNAME=ittalie_dev"
|
||||
# - "MONGODB_PASSWORD=t3hYwwj9jbu8QB6aMxt8KLnj3qEQDuMM"
|
||||
# - "MONGODB_HOSTNAME=db.ittalie.ir"
|
||||
# - "MONGODB_PORT=3082"
|
||||
# - "NODE_ENV=development"
|
||||
# - "PORT=3002"
|
||||
# - "SWAGGER_USER=admin"
|
||||
# - "SWAGGER_PASSWORD=123321"
|
||||
# - "SECRET=h43h$24qaw849f3912d@3as"
|
||||
ports:
|
||||
- 3080:3002
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.16.58.0/24
|
||||
volumes:
|
||||
yara724-main-api-dev-files:
|
||||
name: yara724-main-api-dev-files
|
||||
Reference in New Issue
Block a user