Replace secrets/configs with mounted files/folders

This commit is contained in:
Colin Hebert
2023-04-16 09:34:30 +10:00
parent fe50b4d1a9
commit 1520a5a63f
8 changed files with 28 additions and 102 deletions

View File

@@ -20,9 +20,9 @@ services:
- scrobbler
volumes:
- ${NASCOMPOSE_SERVICES?}/scrobbler/volumes/plaxt_keystore/:/app/keystore/
secrets:
- trakt_id
- trakt_secret
# Secrets
- ${NASCOMPOSE_SERVICES?}/scrobbler/secrets/trakt_id:/run/secrets/trakt_id:ro
- ${NASCOMPOSE_SERVICES?}/scrobbler/secrets/trakt_secret:/run/secrets/trakt_secret:ro
restart: unless-stopped
labels:
traefik.enable: true
@@ -34,9 +34,3 @@ networks:
reverse-proxy:
external: true
secrets:
trakt_id:
file: ${NASCOMPOSE_SERVICES?}/scrobbler/secrets/trakt_id
trakt_secret:
file: ${NASCOMPOSE_SERVICES?}/scrobbler/secrets/trakt_secret