Add example environment variables and update docker-compose

This commit is contained in:
Carter Bertolini 2024-10-11 16:53:08 -04:00
parent a43955726a
commit b222b7911f
2 changed files with 5 additions and 0 deletions

View File

@ -15,3 +15,6 @@ DATABASE_URL=postgresql://libretunes:password@localhost:5432/libretunes
# POSTGRES_HOST=localhost
# POSTGRES_PORT=5432
# POSTGRES_DB=libretunes
LIBRETUNES_AUDIO_PATH=assets/audio
LIBRETUNES_IMAGE_PATH=assets/images

View File

@ -13,6 +13,8 @@ services:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
LIBRETUNES_AUDIO_PATH: /site/assets/audio
LIBRETUNES_IMAGE_PATH: /site/assets/images
volumes:
- libretunes-audio:/site/audio
depends_on: