#99 Refactor secret management for Vaultwarden and Wireguard on jafner.tools

This commit is contained in:
Joey Hafner 2023-09-18 12:46:26 -07:00
parent 991fb6d3cc
commit 612999cd80
5 changed files with 6 additions and 7 deletions

View File

@ -1,2 +1 @@
DOCKER_DATA=/home/admin/data/vaultwarden
ADMIN_TOKEN=7YK43TxKdHNqb696GPNibAvrindZxE7m6nbDsx3purhkgRsRReUiDXPw4HTSBrVN

View File

@ -5,7 +5,7 @@ services:
container_name: vaultwarden_vaultwarden
restart: "no"
env_file:
- .env
- vaultwarden_secrets.env
networks:
- web
volumes:

View File

@ -1,5 +1 @@
DOCKER_DATA=/home/admin/data/wireguard
PASSWORD=7IoEvL8y4eDWBDeLPwUR322Q2A6TNWGH
WG_HOST=vpn.jafner.tools
WG_PORT=53820
WG_DEFAULT_DNS=1.1.1.1

View File

@ -5,7 +5,8 @@ services:
container_name: wireguard_wg-easy
restart: "no"
env_file:
- .env
- wireguard.env
- wireguard_secrets.env
ports:
- 53820:51820/udp
networks:

View File

@ -0,0 +1,3 @@
WG_HOST=vpn.jafner.tools
WG_PORT=53820
WG_DEFAULT_DNS=1.1.1.1