update docker compose: restart unless stopped

This commit is contained in:
ari melody 2024-11-09 22:58:35 +00:00
parent 34dd280fba
commit ea3a386601
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -12,6 +12,9 @@ services:
DISCORD_ADMIN: # your discord user ID. DISCORD_ADMIN: # your discord user ID.
DISCORD_CLIENT: # your discord OAuth client ID. DISCORD_CLIENT: # your discord OAuth client ID.
DISCORD_SECRET: # your discord OAuth secret. DISCORD_SECRET: # your discord OAuth secret.
depends_on:
- db
restart: unless-stopped
db: db:
image: postgres:16.1-alpine3.18 image: postgres:16.1-alpine3.18
volumes: volumes:
@ -20,3 +23,4 @@ services:
POSTGRES_DB: arimelody POSTGRES_DB: arimelody
POSTGRES_USER: arimelody POSTGRES_USER: arimelody
POSTGRES_PASSWORD: fuckingpassword POSTGRES_PASSWORD: fuckingpassword
restart: unless-stopped