2019-11-04 15:00:46 +01:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
app:
|
2020-01-31 10:50:28 +01:00
|
|
|
build: ../../
|
2019-11-04 15:00:46 +01:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
environment:
|
|
|
|
- DB_HOST=db
|
|
|
|
- DB_PORT=3306
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-02-07 10:34:28 +01:00
|
|
|
- ../../config/config.dev.yaml:/src/oef/config/config.yaml
|
2019-11-04 15:00:46 +01:00
|
|
|
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
|
2019-12-05 15:08:37 +01:00
|
|
|
|
|
|
|
smtp:
|
|
|
|
image: digiplant/fake-smtp
|
|
|
|
ports:
|
|
|
|
- "1025:25"
|
2019-11-04 15:00:46 +01:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
|
|
|
|
|
|
|
|
|