FRESH-1129 metasfresh/metasfresh#793 Updated for docker-compose v2
This commit is contained in:
+7
-7
@@ -1,4 +1,4 @@
|
||||
db2:
|
||||
db:
|
||||
build: db
|
||||
ports:
|
||||
- "5432"
|
||||
@@ -12,28 +12,28 @@ db2:
|
||||
- METASFRESH_PASSWORD=metasfresh
|
||||
- METASFRESH_DBNAME=metasfresh
|
||||
- DB_SYSPASS=SYSPASS
|
||||
app2:
|
||||
app:
|
||||
build: app
|
||||
links:
|
||||
- db2:db
|
||||
- db:db
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/app/log:/opt/metasfresh/log:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- METASFRESH_HOME=/opt/metasfresh
|
||||
webapi2:
|
||||
webapi:
|
||||
build: webapi
|
||||
ports:
|
||||
- "8080:8080"
|
||||
links:
|
||||
- app2:app
|
||||
- db2:db
|
||||
- app:app
|
||||
- db:db
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/webapi/log:/opt/metasfresh-webui-api/log:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
webui2:
|
||||
webui:
|
||||
build: webui
|
||||
ports:
|
||||
- "80:80"
|
||||
|
||||
+17
-3
@@ -19,10 +19,24 @@ services:
|
||||
|
||||
app:
|
||||
build: app
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "61616:61616"
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/app/log:/opt/metasfresh/log:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- METASFRESH_HOME=/opt/metasfresh
|
||||
|
||||
webapi:
|
||||
build: webapi
|
||||
ports:
|
||||
- "8080:8080"
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/webapi/log:/opt/metasfresh-webui-api/log:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
webui:
|
||||
build: webui
|
||||
ports:
|
||||
- "80:80"
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user