Workflow update

main
technorabilia 3 weeks ago
parent dacd5c02fb
commit c97c0851f8

@ -20,6 +20,9 @@ services:
- HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable # optional
# SQLite database path. Needs to be a mounted volume for persistence. Don't set at the same time as HISHTORY_POSTGRES_DB.
- HISHTORY_SQLITE_DB=/config/hishtory.db # optional
volumes:
# Configuration files.
- ${BASEDIR:-/volume1/docker}/hishtory-server/config:/config
ports:
# API port
- 8080:8080

@ -12,5 +12,6 @@ docker run -d \
-e HISHTORY_POSTGRES_DB=postgresql://${HISHTORY_DB_USER}:${HISHTORY_DB_PASS}@hishtory-db:5432/hishtory?sslmode=disable `# optional` `# Postgres DB [Connection URI](https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING). Special characters must be [URL encoded](https://en.wikipedia.org/wiki/URL_encoding).` \
-e HISHTORY_SQLITE_DB=/config/hishtory.db `# optional` `# SQLite database path. Needs to be a mounted volume for persistence. Don't set at the same time as HISHTORY_POSTGRES_DB.` \
-p 8080:8080 `# API port` \
-v ${BASEDIR:-/volume1/docker}/hishtory-server/config:/config `# Configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/hishtory-server

@ -1,2 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/hishtory-server/config

@ -27,6 +27,9 @@ services:
- CORS=http://localhost:80,https://localhost:443
# Set mongodb endpoint address/port.
- MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify
volumes:
# Configuration files.
- ${BASEDIR:-/volume1/docker}/your_spotify/config:/config
ports:
# your_spotify HTTP webui
- 80:80

@ -17,5 +17,6 @@ docker run -d \
-e MONGO_ENDPOINT=mongodb://mongo:27017/your_spotify `# Set mongodb endpoint address/port.` \
-p 80:80 `# your_spotify HTTP webui` \
-p 443:443 `# your_spotify HTTPS webui` \
-v ${BASEDIR:-/volume1/docker}/your_spotify/config:/config `# Configuration files.` \
--restart unless-stopped \
ghcr.io/linuxserver/your_spotify

@ -1,2 +1,3 @@
ln -s ../docker-env.cfg ./.env
. ./.env
mkdir -p ${BASEDIR:-/volume1/docker}/your_spotify/config

Loading…
Cancel
Save