Compare commits

...
3 Commits
2 changed files with 16 additions and 10 deletions
+4 -10
View File
@@ -7,9 +7,7 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
env_file: env_file:
- mongodb.env - local.env
environment:
- MONGO_HOST=mongo
ports: ports:
- 8050:8050 - 8050:8050
networks: networks:
@@ -20,7 +18,7 @@ services:
image: mongo:latest image: mongo:latest
container_name: mongo container_name: mongo
env_file: env_file:
- mongodb.env - local.env
ports: ports:
- "27017:27017" - "27017:27017"
networks: networks:
@@ -29,12 +27,8 @@ services:
image: mongo-express image: mongo-express
ports: ports:
- 8081:8081 - 8081:8081
environment: env_file:
ME_CONFIG_MONGODB_ADMINUSERNAME: root - local.env
ME_CONFIG_MONGODB_ADMINPASSWORD: vSH7I7RxsDvb
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: q
links: links:
- mongo - mongo
networks: networks:
+12
View File
@@ -0,0 +1,12 @@
version: '3.7'
services:
app:
image: visual_critical_discourse_analysis:dev
container_name: visual_critical_discourse_analysis
build:
context: .
dockerfile: Dockerfile
env_file:
- server.env
ports:
- 8050:8050