Merge pull request #5057 from Budibase/fix/watchtower-restart

watchtower should restart if it crashes
This commit is contained in:
Martin McKeaveney 2022-03-24 18:24:33 +00:00 committed by GitHub
commit 5882e0faef
5 changed files with 14 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

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