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

make docker restart automatically

parent ec244fd2
Branches
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ services: ...@@ -8,6 +8,7 @@ services:
target: prod target: prod
ports: ports:
- "3002:3000" - "3002:3000"
restart: always
depends_on: depends_on:
api: api:
condition: service_started condition: service_started
...@@ -21,5 +22,6 @@ services: ...@@ -21,5 +22,6 @@ services:
- APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR - APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR
ports: ports:
- "8282:8080" - "8282:8080"
restart: always
volumes: volumes:
- ./data:/app/data - ./data:/app/data
\ No newline at end of file
...@@ -8,6 +8,7 @@ services: ...@@ -8,6 +8,7 @@ services:
target: staging target: staging
ports: ports:
- "3001:3000" - "3001:3000"
restart: always
depends_on: depends_on:
api: api:
condition: service_started condition: service_started
...@@ -21,5 +22,6 @@ services: ...@@ -21,5 +22,6 @@ services:
- APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR - APP_ENVIRONMENT_FILE_DIR=$APP_ENVIRONMENT_FILE_DIR
ports: ports:
- "8181:8080" - "8181:8080"
restart: always
volumes: volumes:
- ./data:/app/data - ./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