Skip to content

Commit

Permalink
Merge pull request #155 from woodonggyu/master
Browse files Browse the repository at this point in the history
fix: Invalid option and add environment variables
  • Loading branch information
rpiazza authored May 25, 2022
2 parents f6570c4 + ef67175 commit 2a588aa
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,30 @@ services:
context: .
dockerfile: docker_utils/Dockerfile
command: [sh, -c, "medallion --host 0.0.0.0"]
env:
environment:
MEDALLION_BACKEND_MODULE_CLASS: "MongoBackend"
MEDALLION_BACKEND_MONGO_URI: "mongodb://root:example@mongo:27017/"
ports:
- 5000:5000
- "5000:5000"
mongo:
image: mongo
restart: always
ports:
- 27017:27017
- "27017:27017"
environment:
MONGO_HOST: mongo
MONGO_PORT: 27017
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
- "8081:8081"
environment:
ME_CONFIG_MONGODB_SERVER: mongo
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
depends_on:
Expand Down

1 comment on commit 2a588aa

@anasmhana
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clenk:cert_auth

Please sign in to comment.