add secret version suffix and add secret decleration to compose.yml
This commit is contained in:
parent
b805e0aee4
commit
35fb8ff2a3
@ -5,6 +5,10 @@ DOMAIN=wireguard-ui.example.com
|
|||||||
#EXTRA_DOMAINS=', `www.wireguard-ui.example.com`'
|
#EXTRA_DOMAINS=', `www.wireguard-ui.example.com`'
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
|
SECRET_SESSION_VERSION=v1
|
||||||
|
SECRET_ADMIN_PASSWORD_VERSION=v1
|
||||||
|
SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
##
|
##
|
||||||
## Please check https://github.com/ngoduykhanh/wireguard-ui for up-to-date information regarding default values and environment variables
|
## Please check https://github.com/ngoduykhanh/wireguard-ui for up-to-date information regarding default values and environment variables
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
smtp_password:
|
smtp_password:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_smtp_password
|
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
|
||||||
|
@ -53,6 +53,14 @@ networks:
|
|||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
session_secret:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_session_secret_${SECRET_SESSION_VERSION}
|
||||||
|
admin_password:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
wgconfig:
|
wgconfig:
|
||||||
wguiconfig:
|
wguiconfig:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user