Skip to content

Commit

Permalink
build(docker): update docker-compose.yml file example
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinTh committed Jun 16, 2021
1 parent 611d0d3 commit 3640ee8
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
version: '3'

services:
mongo:
image: 'mongo:4.2'
le2ml-api:
image: 'le2ml-api:latest'
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: password
ports:
- 27017:27017

redis:
image: 'redis:5.0'
command: redis-server --requirepass password
restart: always
ports:
- 6379:6379
- 3000:3000
volumes:
- ./.certs:/.certs
- ./log:/log
- ./data:/data
network_mode: bridge

0 comments on commit 3640ee8

Please sign in to comment.