43 lines
1018 B
YAML
43 lines
1018 B
YAML
db:
|
|
build: db
|
|
restart: always
|
|
volumes:
|
|
- ./volumes/db/data:/var/lib/postgresql/data
|
|
- ./volumes/db/log:/var/log/postgresql
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- METASFRESH_USERNAME=metasfresh
|
|
- METASFRESH_PASSWORD=metasfresh
|
|
- METASFRESH_DBNAME=metasfresh
|
|
- DB_SYSPASS=System
|
|
app:
|
|
build: app
|
|
hostname: app
|
|
links:
|
|
- db:db
|
|
restart: always
|
|
volumes:
|
|
- ./volumes/app/log:/opt/metasfresh/log:rw
|
|
- ./volumes/app/heapdump:/opt/metasfresh/heapdump:rw
|
|
- ./volumes/app/external-lib:/opt/metasfresh/external-lib:rw
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- METASFRESH_HOME=/opt/metasfresh
|
|
webapi:
|
|
build: webapi
|
|
links:
|
|
- app:app
|
|
- db:db
|
|
restart: always
|
|
volumes:
|
|
- ./volumes/webapi/log:/opt/metasfresh-webui-api/log:rw
|
|
- ./volumes/webapi/heapdump:/opt/metasfresh-webui-api/heapdump:rw
|
|
- /etc/localtime:/etc/localtime:ro
|
|
webui:
|
|
build: webui
|
|
links:
|
|
- webapi:webapi
|
|
ports:
|
|
- "80:80"
|
|
restart: always
|