Refactor secrets
This commit is contained in:
parent
819c4962cf
commit
df5f761391
Binary file not shown.
@ -64,6 +64,8 @@ services:
|
|||||||
container_name: transmission
|
container_name: transmission
|
||||||
environment:
|
environment:
|
||||||
<<: *common-environment
|
<<: *common-environment
|
||||||
|
FILE__USER: /run/secrets/transmission-user
|
||||||
|
FILE__PASS: /run/secrets/transmission-pw
|
||||||
volumes:
|
volumes:
|
||||||
- transmission-config:/config
|
- transmission-config:/config
|
||||||
- /mnt/storage/download:/downloads
|
- /mnt/storage/download:/downloads
|
||||||
@ -73,6 +75,9 @@ services:
|
|||||||
- 51413:51413
|
- 51413:51413
|
||||||
- 51413:51413/udp
|
- 51413:51413/udp
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
secrets:
|
||||||
|
- transmission-user
|
||||||
|
- transmission-pw
|
||||||
|
|
||||||
# WIP
|
# WIP
|
||||||
# radarr:
|
# radarr:
|
||||||
@ -94,13 +99,12 @@ services:
|
|||||||
syncthing:
|
syncthing:
|
||||||
image: lscr.io/linuxserver/syncthing:latest
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
container_name: syncthing
|
container_name: syncthing
|
||||||
hostname: drmanhattan #optional
|
hostname: drmanhattan
|
||||||
environment: *common-environment
|
environment: *common-environment
|
||||||
volumes:
|
volumes:
|
||||||
- ./syncthing:/config
|
- ./syncthing:/config
|
||||||
- /mnt/storage/music/Florent:/music
|
- /mnt/storage/music/Florent:/music
|
||||||
ports:
|
ports:
|
||||||
#- 8384:8384
|
|
||||||
- 22000:22000/tcp
|
- 22000:22000/tcp
|
||||||
- 22000:22000/udp
|
- 22000:22000/udp
|
||||||
- 21027:21027/udp
|
- 21027:21027/udp
|
||||||
@ -115,10 +119,13 @@ services:
|
|||||||
- lychee-db:/config
|
- lychee-db:/config
|
||||||
environment:
|
environment:
|
||||||
<<: *common-environment
|
<<: *common-environment
|
||||||
MYSQL_ROOT_PASSWORD: rootpassword
|
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/lychee-db-root-pw
|
||||||
|
FILE__MYSQL_PASSWORD: /run/secrets/lychee-db-pw
|
||||||
MYSQL_DATABASE: lychee
|
MYSQL_DATABASE: lychee
|
||||||
MYSQL_USER: lychee
|
MYSQL_USER: lychee
|
||||||
MYSQL_PASSWORD: dbpassword
|
secrets:
|
||||||
|
- lychee-db-root-pw
|
||||||
|
- lychee-db-pw
|
||||||
|
|
||||||
|
|
||||||
lychee:
|
lychee:
|
||||||
@ -132,11 +139,13 @@ services:
|
|||||||
- lychee-pictures:/pictures
|
- lychee-pictures:/pictures
|
||||||
environment:
|
environment:
|
||||||
<<: *common-environment
|
<<: *common-environment
|
||||||
|
FILE__DB_PASSWORD: /run/secrets/lychee-db-pw
|
||||||
DB_HOST: lychee-db
|
DB_HOST: lychee-db
|
||||||
DB_USERNAME: lychee
|
DB_USERNAME: lychee
|
||||||
DB_PASSWORD: dbpassword
|
|
||||||
DB_DATABASE: lychee
|
DB_DATABASE: lychee
|
||||||
DB_PORT: 3306
|
DB_PORT: 3306
|
||||||
|
secrets:
|
||||||
|
- lychee-db-pw
|
||||||
|
|
||||||
# WIP
|
# WIP
|
||||||
# zotero:
|
# zotero:
|
||||||
@ -227,7 +236,15 @@ volumes:
|
|||||||
|
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
|
lychee-db-root-pw:
|
||||||
|
file: lychee-db-root-pw.secret
|
||||||
|
lychee-db-pw:
|
||||||
|
file: lychee-db-pw.secret
|
||||||
nextcloud-db-root-pw:
|
nextcloud-db-root-pw:
|
||||||
file: nextcloud-db-root-pw.secret
|
file: nextcloud-db-root-pw.secret
|
||||||
nextcloud-db-pw:
|
nextcloud-db-pw:
|
||||||
file: nextcloud-db-pw.secret
|
file: nextcloud-db-pw.secret
|
||||||
|
transmission-user:
|
||||||
|
file: transmission-user.secret
|
||||||
|
transmission-pw:
|
||||||
|
file: transmission-pw.secret
|
||||||
|
BIN
lychee-db-pw.secret
Normal file
BIN
lychee-db-pw.secret
Normal file
Binary file not shown.
BIN
lychee-db-root-pw.secret
Normal file
BIN
lychee-db-root-pw.secret
Normal file
Binary file not shown.
BIN
transmission-pw.secret
Normal file
BIN
transmission-pw.secret
Normal file
Binary file not shown.
BIN
transmission-user.secret
Normal file
BIN
transmission-user.secret
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user