changed some containers to have network mode adopting network stack of main VPN client container
This commit is contained in:
@@ -103,8 +103,9 @@ services:
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- "redis-data:/data:z"
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- wgclient
|
||||
env_file:
|
||||
@@ -130,8 +131,9 @@ services:
|
||||
# @NOTE https://dev.mysql.com/doc/refman/8.0/en/using-encrypted-connections.html
|
||||
- ~/.config/mysql:/etc/mysql/conf.d:Z
|
||||
- mysql-lib:/var/lib/mysql
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- wgclient
|
||||
env_file:
|
||||
@@ -163,8 +165,9 @@ services:
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ~/srv/${NEXTCLOUD_SUBDOMAIN}.${SERVER_FQDN}:/var/www/html:z
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- cache0
|
||||
- db0
|
||||
@@ -221,8 +224,9 @@ services:
|
||||
expose:
|
||||
- 3000
|
||||
- ${GITEA_SSH_PORT:-2323}
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- db0
|
||||
- wgclient
|
||||
@@ -292,8 +296,9 @@ services:
|
||||
expose:
|
||||
- 6157
|
||||
- ${OG_SSH_PORT:-2323}
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- db0
|
||||
- wgclient
|
||||
@@ -344,8 +349,9 @@ services:
|
||||
- ~/.caddy:/config:Z
|
||||
volumes_from:
|
||||
- cloud:ro
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- wgclient
|
||||
env_file:
|
||||
@@ -369,8 +375,9 @@ services:
|
||||
# - ~/srv/certbot.${SERVER_FQDN}:/srv/certbot.${SERVER_FQDN}:z
|
||||
volumes_from:
|
||||
- revproxy0:rw
|
||||
networks:
|
||||
- wg
|
||||
# networks:
|
||||
# - wg
|
||||
network_mode: "container:wgclient"
|
||||
depends_on:
|
||||
- revproxy0
|
||||
- wgclient
|
||||
@@ -395,7 +402,7 @@ services:
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
# Optionally, also mount docker socket if you want to use the docker containers widget
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /var/run:/var/run:ro
|
||||
# @NOTE https://github.com/glanceapp/glance/blob/main/docs/configuration.md#configuring-glance
|
||||
- ~/.config/glance:/app/config:Z # @NOTE internal container server port is changed via 'glance.yml' config file; default is 8080
|
||||
- ~/.local/glance:/app/assets:Z
|
||||
|
||||
Reference in New Issue
Block a user