Try dual env files

This commit is contained in:
Joey Hafner 2022-04-28 12:43:51 -07:00
parent 3978305673
commit a5ff12bf2a

View File

@ -4,11 +4,14 @@ services:
image: weejewel/wg-easy
container_name: wireguard_wg-easy
restart: unless-stopped
env_file:
- .env
- .secret
ports:
- 53820:51820/udp
environment:
- WG_HOST=vpn.jafner.net
- PASSWORD=um5YEtjki5g6SkRsjyXRaFLNRgsqYk6r
- PASSWORD=${PASSWORD}
networks:
- web
volumes: