2024-06-05 16:59:33 -04:00
|
|
|
services:
|
|
|
|
gamevault-backend:
|
2024-11-12 14:54:16 -05:00
|
|
|
image: phalcode/gamevault-backend:13.1.0
|
2024-06-05 16:59:33 -04:00
|
|
|
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
|
2024-11-12 14:54:16 -05:00
|
|
|
- ${DATA_LOCATION}/images:/media
|
2024-06-05 16:59:33 -04:00
|
|
|
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
|
2024-06-23 12:21:53 -04:00
|
|
|
- ./db:/var/lib/postgresql/data
|
2024-06-05 16:59:33 -04:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: nginx-proxy
|
|
|
|
external: true
|