update caddy to use netbird dns server and authelia to use expose port to host's localhost
This commit is contained in:
@@ -5,10 +5,8 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- {{ authelia_config_dir }}:/config
|
||||
networks:
|
||||
- authelia_net
|
||||
expose:
|
||||
- "{{ authelia_port }}"
|
||||
ports:
|
||||
- "127.0.0.1:{{ authelia_port }}:{{ authelia_port }}"
|
||||
environment:
|
||||
- TZ={{ ansible_facts.timezone | default('UTC') }}
|
||||
|
||||
@@ -16,16 +14,8 @@ services:
|
||||
image: caddy:2
|
||||
container_name: authelia_caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
network_mode: host
|
||||
volumes:
|
||||
- {{ authelia_base_dir }}/Caddyfile:/etc/caddy/Caddyfile
|
||||
- {{ authelia_data_dir }}/caddy_data:/data
|
||||
- {{ authelia_data_dir }}/caddy_config:/config
|
||||
networks:
|
||||
- authelia_net
|
||||
|
||||
networks:
|
||||
authelia_net:
|
||||
driver: bridge
|
||||
- {{ authelia_data_dir }}/caddy_config:/config
|
||||
Reference in New Issue
Block a user