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