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:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- "redis-data:/data:z"
|
- "redis-data:/data:z"
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- wgclient
|
- wgclient
|
||||||
env_file:
|
env_file:
|
||||||
@@ -130,8 +131,9 @@ services:
|
|||||||
# @NOTE https://dev.mysql.com/doc/refman/8.0/en/using-encrypted-connections.html
|
# @NOTE https://dev.mysql.com/doc/refman/8.0/en/using-encrypted-connections.html
|
||||||
- ~/.config/mysql:/etc/mysql/conf.d:Z
|
- ~/.config/mysql:/etc/mysql/conf.d:Z
|
||||||
- mysql-lib:/var/lib/mysql
|
- mysql-lib:/var/lib/mysql
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- wgclient
|
- wgclient
|
||||||
env_file:
|
env_file:
|
||||||
@@ -163,8 +165,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ~/srv/${NEXTCLOUD_SUBDOMAIN}.${SERVER_FQDN}:/var/www/html:z
|
- ~/srv/${NEXTCLOUD_SUBDOMAIN}.${SERVER_FQDN}:/var/www/html:z
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- cache0
|
- cache0
|
||||||
- db0
|
- db0
|
||||||
@@ -221,8 +224,9 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 3000
|
- 3000
|
||||||
- ${GITEA_SSH_PORT:-2323}
|
- ${GITEA_SSH_PORT:-2323}
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db0
|
- db0
|
||||||
- wgclient
|
- wgclient
|
||||||
@@ -292,8 +296,9 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 6157
|
- 6157
|
||||||
- ${OG_SSH_PORT:-2323}
|
- ${OG_SSH_PORT:-2323}
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db0
|
- db0
|
||||||
- wgclient
|
- wgclient
|
||||||
@@ -344,8 +349,9 @@ services:
|
|||||||
- ~/.caddy:/config:Z
|
- ~/.caddy:/config:Z
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- cloud:ro
|
- cloud:ro
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- wgclient
|
- wgclient
|
||||||
env_file:
|
env_file:
|
||||||
@@ -369,8 +375,9 @@ services:
|
|||||||
# - ~/srv/certbot.${SERVER_FQDN}:/srv/certbot.${SERVER_FQDN}:z
|
# - ~/srv/certbot.${SERVER_FQDN}:/srv/certbot.${SERVER_FQDN}:z
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- revproxy0:rw
|
- revproxy0:rw
|
||||||
networks:
|
# networks:
|
||||||
- wg
|
# - wg
|
||||||
|
network_mode: "container:wgclient"
|
||||||
depends_on:
|
depends_on:
|
||||||
- revproxy0
|
- revproxy0
|
||||||
- wgclient
|
- wgclient
|
||||||
@@ -395,7 +402,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
# Optionally, also mount docker socket if you want to use the docker containers widget
|
# 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
|
# @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
|
- ~/.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
|
- ~/.local/glance:/app/assets:Z
|
||||||
|
|||||||
Reference in New Issue
Block a user