oef/docker/oef_dev/docker-compose.yaml
2020-02-07 10:34:28 +01:00

35 lines
573 B
YAML

version: "3.3"
services:
app:
build: ../../
ports:
- 3000:3000
environment:
- DB_HOST=db
- DB_PORT=3306
volumes:
- /etc/localtime:/etc/localtime:ro
- ../../config/config.dev.yaml:/src/oef/config/config.yaml
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
env_file:
- db.env
ports:
- 3307:3306
smtp:
image: digiplant/fake-smtp
ports:
- "1025:25"
volumes:
db: