Add cache volume mount
This commit is contained in:
parent
12397abf5a
commit
5328537a3b
1 changed files with 3 additions and 1 deletions
|
|
@ -18,6 +18,8 @@ services:
|
|||
GUILD_ID: "${GUILD_ID}"
|
||||
TYPECAST_TOKEN: "${TYPECAST_TOKEN}"
|
||||
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@$discord-db:5432/${POSTGRES_DB}?schema=public"
|
||||
volumes:
|
||||
- ./discord-bot/cache:/app/cache
|
||||
discord-db:
|
||||
container_name: discord-db
|
||||
image: postgres:17
|
||||
|
|
@ -25,7 +27,7 @@ services:
|
|||
networks:
|
||||
- discord-bot-internal
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./discord-bot/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||
POSTGRES_USER: "${POSTGRES_USER}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue