diff --git a/docker-compose.yml b/docker-compose.yml index e29b006..69f9247 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,9 @@ services: DISCORD_ADMIN: # your discord user ID. DISCORD_CLIENT: # your discord OAuth client ID. DISCORD_SECRET: # your discord OAuth secret. + depends_on: + - db + restart: unless-stopped db: image: postgres:16.1-alpine3.18 volumes: @@ -20,3 +23,4 @@ services: POSTGRES_DB: arimelody POSTGRES_USER: arimelody POSTGRES_PASSWORD: fuckingpassword + restart: unless-stopped