media-server-docker-compose/games/docker-compose.yml
2024-06-23 12:21:53 -04:00

39 lines
1.1 KiB
YAML

services:
gamevault-backend:
image: phalcode/gamevault-backend:latest
restart: unless-stopped
environment:
- PUID=${UID}
- PGID=${GID}
- DB_HOST=games-db-1
- DB_USERNAME=${DBUSER}
- DB_PASSWORD=${DBPASS}
- VIRTUAL_HOST=gamevault.${DOMAIN}
- LETSENCRYPT_HOST=gamevault.${DOMAIN}
- LETSENCRYPT_EMAIL=${EMAIL}
# Uncomment and insert your RAWG API Key here if you have one (http://rawg.io/login?forward=developer)
- RAWG_API_KEY=${RAWG_API_KEY}
volumes:
# Mount the folder where your games are
- ${DATA_LOCATION}:/files
# Mount the folder where GameVault should store its images
- ${DATA_LOCATION}/images:/images
expose:
- "8080"
ports:
- 8080:8080
db:
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_USER: ${DBUSER}
POSTGRES_PASSWORD: ${DBPASS}
POSTGRES_DB: gamevault
volumes:
# Mount the folder where your PostgreSQL database files should land
- ./db:/var/lib/postgresql/data
networks:
default:
name: nginx-proxy
external: true