remove db
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2024-12-29 19:35:56 +01:00
parent 0b6e74c1e0
commit f657a61d55
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 23 additions and 51 deletions

View file

@ -3,27 +3,13 @@ services:
build: .
ports:
- "8080:8000"
depends_on:
- postgres
volumes:
- ./websites:/websites
- ./favicon:/favicon
environment:
- "DATABASE_URL=postgres://user:pass@postgres/webarc"
- "RUST_LOG=info"
- "ROCKET_ADDRESS=0.0.0.0"
# Rewrite links to point back to the archive itself
- "ROUTE_INTERNAL=true"
# Download missing routes on demand
- "DOWNLOAD_ON_DEMAND=true"
postgres:
image: timescale/timescaledb:latest-pg16
restart: always
ports:
- 5432:5432
volumes:
- ./db:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=webarc