diff --git a/docker/production/docker-compose.yml b/docker/production/docker-compose.yml index f0b7218bb921aaa4254e1d5ac8ff6344517f1980..2f36d59a8f4589838b0045674e861ad9bce931b7 100644 --- a/docker/production/docker-compose.yml +++ b/docker/production/docker-compose.yml @@ -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 diff --git a/docker/staging/docker-compose.yml b/docker/staging/docker-compose.yml index f884efdd6a080adb443d389cbdacbbbe0f0993b1..acb9ea7dc7c1e81dda25ddaa2a7b9e6509449951 100644 --- a/docker/staging/docker-compose.yml +++ b/docker/staging/docker-compose.yml @@ -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