Fix container communication
This commit is contained in:
parent
1020c59c50
commit
c6f0e1f701
|
@ -26,6 +26,10 @@
|
|||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: services
|
||||
ipv4_address: 172.16.0.2
|
||||
published_ports:
|
||||
- '80:80/tcp'
|
||||
- '443:443/tcp'
|
||||
volumes:
|
||||
- "{{ services.caddy.volume }}/Caddyfile:/etc/caddy/Caddyfile:ro"
|
||||
- "{{ services.caddy.volume }}/config:/config:rw"
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
GID: '1000'
|
||||
networks:
|
||||
- name: services
|
||||
aliases:
|
||||
- emby
|
||||
volumes:
|
||||
- "{{ services.emby.volume }}/programdata:/config:rw"
|
||||
- "{{ services.emby.volume }}/tvshows:/mnt/share1:rw"
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: services
|
||||
aliases:
|
||||
- monerod
|
||||
volumes:
|
||||
- monerod-node-blockchain:/home/monero/.bitmonero:rw
|
||||
published_ports:
|
||||
|
|
|
@ -75,8 +75,10 @@
|
|||
PHP_MEMORY_LIMIT: 2G
|
||||
PHP_UPLOAD_LIMIT: 16G
|
||||
networks:
|
||||
- default
|
||||
- services
|
||||
default:
|
||||
services:
|
||||
aliases:
|
||||
- nextcloud
|
||||
volumes:
|
||||
- "{{ services.nextcloud.volume }}/app:/var/www/html:rw"
|
||||
- "{{ services.nextcloud.volume }}/apache2/apache2.conf:/etc/apache2/apache2.conf:ro"
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
restart_policy: unless-stopped
|
||||
env:
|
||||
SERVERURL: "{{ services.wireguard.domain }}"
|
||||
SERVERPORT: 51820
|
||||
SERVERPORT: '51820'
|
||||
PEERS: "{{ secrets.wireguard.peers }}"
|
||||
PEERDNS: auto
|
||||
TZ: "{{ timezone }}"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
-Server
|
||||
}
|
||||
|
||||
reverse_proxy nextcloud_app_1:80
|
||||
reverse_proxy nextcloud:80
|
||||
}
|
||||
|
||||
{{ services.emby.domain }} {
|
||||
|
@ -24,7 +24,7 @@
|
|||
-Server
|
||||
}
|
||||
|
||||
reverse_proxy emby_app:8096
|
||||
reverse_proxy emby:8096
|
||||
}
|
||||
|
||||
{{ services.monerod.domain }}:18089 {
|
||||
|
@ -35,5 +35,5 @@
|
|||
-Server
|
||||
}
|
||||
|
||||
reverse_proxy monerod_node:18089
|
||||
reverse_proxy monerod:18089
|
||||
}
|
||||
|
|
Reference in a new issue