diff options
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 0986cac..bb59b43 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,16 +8,19 @@ services: app: container_name: bsu-fantom restart: always + init: true build: . environment: - MONGODB_URI=mongodb://db:27017/bsu-fantom + env_file: + - .env ports: - '3030:3030' links: - db db: - container_name: mongo + container_name: bsu-fantom-db image: mongo ports: - - '27017:27017' + - '27018:27017' |