Skip to content
Snippets Groups Projects
Commit 7fdc1bc1 authored by Felix Riehm's avatar Felix Riehm
Browse files

make docker restart automatically

parent ec244fd2
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ services:
target: prod
ports:
- "3002:3000"
restart: always
depends_on:
api:
condition: service_started
......@@ -21,5 +22,6 @@ services:
- APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR
ports:
- "8282:8080"
restart: always
volumes:
- ./data:/app/data
\ No newline at end of file
......@@ -8,6 +8,7 @@ services:
target: staging
ports:
- "3001:3000"
restart: always
depends_on:
api:
condition: service_started
......@@ -21,5 +22,6 @@ services:
- APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR
ports:
- "8181:8080"
restart: always
volumes:
- ./data:/app/data
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment