Moved data path

This commit is contained in:
kimpure 2026-02-10 11:23:06 +00:00
parent 781ecee578
commit b654e7c40b
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -7,4 +7,5 @@ packages/generated
.env
cache
db
docker-compose.yml

View file

@ -19,7 +19,7 @@ services:
TYPECAST_TOKEN: "${TYPECAST_TOKEN}"
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@$discord-db:5432/${POSTGRES_DB}?schema=public"
volumes:
- ./discord-bot/cache:/app/cache
- ./cache:/app/cache
discord-db:
container_name: discord-db
image: postgres:17
@ -27,7 +27,7 @@ services:
networks:
- discord-bot-internal
volumes:
- ./discord-bot/db:/var/lib/postgresql/data
- ./db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
POSTGRES_USER: "${POSTGRES_USER}"