Moved data path
This commit is contained in:
parent
781ecee578
commit
b654e7c40b
2 changed files with 3 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -7,4 +7,5 @@ packages/generated
|
||||||
|
|
||||||
.env
|
.env
|
||||||
cache
|
cache
|
||||||
|
db
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ services:
|
||||||
TYPECAST_TOKEN: "${TYPECAST_TOKEN}"
|
TYPECAST_TOKEN: "${TYPECAST_TOKEN}"
|
||||||
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@$discord-db:5432/${POSTGRES_DB}?schema=public"
|
DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@$discord-db:5432/${POSTGRES_DB}?schema=public"
|
||||||
volumes:
|
volumes:
|
||||||
- ./discord-bot/cache:/app/cache
|
- ./cache:/app/cache
|
||||||
discord-db:
|
discord-db:
|
||||||
container_name: discord-db
|
container_name: discord-db
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
|
|
@ -27,7 +27,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- discord-bot-internal
|
- discord-bot-internal
|
||||||
volumes:
|
volumes:
|
||||||
- ./discord-bot/db:/var/lib/postgresql/data
|
- ./db:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||||
POSTGRES_USER: "${POSTGRES_USER}"
|
POSTGRES_USER: "${POSTGRES_USER}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue