update always to unless-stopped

This commit is contained in:
Martin McKeaveney 2022-03-24 17:35:35 +00:00
parent 0bf5d3a8d4
commit 14c75b2907
5 changed files with 13 additions and 13 deletions

View File

@ -4,7 +4,7 @@ version: "3"
services: services:
app-service: app-service:
restart: always restart: unless-stopped
image: budibase.docker.scarf.sh/budibase/apps image: budibase.docker.scarf.sh/budibase/apps
container_name: bbapps container_name: bbapps
environment: environment:
@ -28,7 +28,7 @@ services:
- redis-service - redis-service
worker-service: worker-service:
restart: always restart: unless-stopped
image: budibase.docker.scarf.sh/budibase/worker image: budibase.docker.scarf.sh/budibase/worker
container_name: bbworker container_name: bbworker
environment: environment:
@ -53,7 +53,7 @@ services:
- couch-init - couch-init
minio-service: minio-service:
restart: always restart: unless-stopped
image: minio/minio image: minio/minio
volumes: volumes:
- minio_data:/data - minio_data:/data
@ -69,7 +69,7 @@ services:
retries: 3 retries: 3
proxy-service: proxy-service:
restart: always restart: unless-stopped
ports: ports:
- "${MAIN_PORT}:10000" - "${MAIN_PORT}:10000"
container_name: bbproxy container_name: bbproxy
@ -81,7 +81,7 @@ services:
- couchdb-service - couchdb-service
couchdb-service: couchdb-service:
restart: always restart: unless-stopped
image: ibmcom/couchdb3 image: ibmcom/couchdb3
environment: environment:
- COUCHDB_PASSWORD=${COUCH_DB_PASSWORD} - COUCHDB_PASSWORD=${COUCH_DB_PASSWORD}
@ -98,7 +98,7 @@ services:
command: ["sh","-c","sleep 10 && $${PUT_CALL}/_users && $${PUT_CALL}/_replicator; fg;"] command: ["sh","-c","sleep 10 && $${PUT_CALL}/_users && $${PUT_CALL}/_replicator; fg;"]
redis-service: redis-service:
restart: always restart: unless-stopped
image: redis image: redis
command: redis-server --requirepass ${REDIS_PASSWORD} command: redis-server --requirepass ${REDIS_PASSWORD}
volumes: volumes:

View File

@ -3,7 +3,7 @@ services:
db: db:
container_name: postgres container_name: postgres
image: postgres image: postgres
restart: always restart: unless-stopped
environment: environment:
POSTGRES_USER: root POSTGRES_USER: root
POSTGRES_PASSWORD: root POSTGRES_PASSWORD: root
@ -17,7 +17,7 @@ services:
pgadmin: pgadmin:
container_name: pgadmin-pg container_name: pgadmin-pg
image: dpage/pgadmin4 image: dpage/pgadmin4
restart: always restart: unless-stopped
environment: environment:
PGADMIN_DEFAULT_EMAIL: root@root.com PGADMIN_DEFAULT_EMAIL: root@root.com
PGADMIN_DEFAULT_PASSWORD: root PGADMIN_DEFAULT_PASSWORD: root

View File

@ -4,7 +4,7 @@
version: "3.8" version: "3.8"
services: services:
db: db:
restart: always restart: unless-stopped
platform: linux/x86_64 platform: linux/x86_64
image: container-registry.oracle.com/database/express:18.4.0-xe image: container-registry.oracle.com/database/express:18.4.0-xe
environment: environment:

View File

@ -3,7 +3,7 @@ services:
db: db:
container_name: postgres container_name: postgres
image: postgres image: postgres
restart: always restart: unless-stopped
environment: environment:
POSTGRES_USER: root POSTGRES_USER: root
POSTGRES_PASSWORD: root POSTGRES_PASSWORD: root
@ -17,7 +17,7 @@ services:
pgadmin: pgadmin:
container_name: pgadmin-pg container_name: pgadmin-pg
image: dpage/pgadmin4 image: dpage/pgadmin4
restart: always restart: unless-stopped
environment: environment:
PGADMIN_DEFAULT_EMAIL: root@root.com PGADMIN_DEFAULT_EMAIL: root@root.com
PGADMIN_DEFAULT_PASSWORD: root PGADMIN_DEFAULT_PASSWORD: root

View File

@ -3,7 +3,7 @@ services:
db: db:
container_name: postgres-vehicle container_name: postgres-vehicle
image: postgres image: postgres
restart: always restart: unless-stopped
environment: environment:
POSTGRES_USER: root POSTGRES_USER: root
POSTGRES_PASSWORD: root POSTGRES_PASSWORD: root
@ -17,7 +17,7 @@ services:
pgadmin: pgadmin:
container_name: pgadmin container_name: pgadmin
image: dpage/pgadmin4 image: dpage/pgadmin4
restart: always restart: unless-stopped
environment: environment:
PGADMIN_DEFAULT_EMAIL: root@root.com PGADMIN_DEFAULT_EMAIL: root@root.com
PGADMIN_DEFAULT_PASSWORD: root PGADMIN_DEFAULT_PASSWORD: root