1
0
Fork 0

env: add docker registry URL, beets: replace with vars

This commit is contained in:
Lukáš Kucharczyk 2022-11-09 13:37:13 +01:00
parent b1fe2f28ee
commit facf5689ea
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 6 additions and 6 deletions

1
.env
View File

@ -1,3 +1,4 @@
REGISTRY_URL=registry.kucharczyk.xyz
TZ=Europe/Prague TZ=Europe/Prague
STORAGE_PATH=/srv/mergerfs/storage STORAGE_PATH=/srv/mergerfs/storage
DOCKER_STORAGE_PATH=/docker DOCKER_STORAGE_PATH=/docker

View File

@ -2,17 +2,16 @@
version: "2.1" version: "2.1"
services: services:
beets: beets:
# image: lscr.io/linuxserver/beets:latest image: ${REGISTRY_URL}/beets:latest
image: registry.kucharczyk.xyz/beets:latest
container_name: beets container_name: beets
environment: environment:
- PUID=${PUID} - PUID=${PUID}
- PGID=${PGID} - PGID=${PGID}
- TZ=Europe/Prague - TZ=${TZ}
volumes: volumes:
- /docker/beets:/config - "${DOCKER_STORAGE_PATH}/beets:/config"
- /srv/mergerfs/storage/media/music2:/music - "${STORAGE_PATH}/media/music2:/music"
- /srv/mergerfs/storage/download/music:/downloads - "${STORAGE_PATH}/download/music:/downloads"
ports: ports:
- 8337:8337 - 8337:8337
restart: unless-stopped restart: unless-stopped