-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
version: "3"
services:
db:
image: postgres:13.22
container_name: playnite-db
ports:
- "5433:5432"
environment:
- POSTGRES_USER=playnite
- POSTGRES_PASSWORD=playnite_password
- POSTGRES_DB=games
volumes:
# Map to your physical DB folder
- /volume1/docker/playnite-web/db:/var/lib/postgresql/data
restart: unless-stopped
mqtt:
image: eclipse-mosquitto:2.0.18
container_name: playnite-mqtt
ports:
- "1883:1883"
- "9001:9001"
volumes:
# Map to your config folder (where mosquitto.conf is)
- /volume1/docker/playnite-web/mqtt:/mosquitto/config
restart: unless-stopped
playnite-web:
image: ghcr.io/andrew-codes/playnite-web-app:13-latest
container_name: playnite-web
ports:
- "3000:3000"
environment:
- PORT=3000
- HOST=0.0.0.0
- DATABASE_URL=postgres://playnite:playnite_password@db:5432/games?schema=public&pgbouncer=true&connection_limit=12
- SECRET=SuperSecretRandomString123!
- DISABLE_CSP=true
- MQTT_HOST=mqtt
- MQTT_PORT=1883
- MQTT_USERNAME=
- MQTT_PASSWORD=
volumes:
- /volume1/docker/playnite-web/data:/opt/playnite-web-app/public/cover-art
depends_on:
- db
- mqtt
restart: unless-stopped
playnite-web-sync-library-processor:
image: ghcr.io/andrew-codes/sync-library-processor:13-latest
container_name: playnite-processor
ports:
- "3001:3001"
environment:
- MQTT_HOST=mqtt
- MQTT_PORT=1883
- MQTT_USERNAME=
- MQTT_PASSWORD=
- DATABASE_URL=postgres://playnite:playnite_password@db:5432/games?schema=public
- PORT=3001
- COVER_ART_PATH=/opt/playnite-web/game-assets/cover-art
volumes:
- /volume1/docker/playnite-web/data:/opt/playnite-web/game-assets
depends_on:
- playnite-web
restart: unless-stopped
As you can see, I have "- DISABLE_CSP=true" as it'll otherwise try to go into https from my local server. Could we get a smoother solution for this?
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Backlog