Fix network config

This commit is contained in:
Sam A. 2022-12-28 18:03:57 +01:00
parent b5f028f7ed
commit 1020c59c50
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
5 changed files with 11 additions and 5 deletions

View file

@ -28,8 +28,8 @@
docker_network: docker_network:
name: services name: services
ipam_config: ipam_config:
- subnet: 172.17.0.0/16 - subnet: 172.16.0.0/16
gateway: 172.17.0.1 gateway: 172.16.0.1
state: present state: present
- name: Deploy services - name: Deploy services

View file

@ -25,7 +25,7 @@
image: "caddy:{{ services.caddy.version }}" image: "caddy:{{ services.caddy.version }}"
restart_policy: unless-stopped restart_policy: unless-stopped
networks: networks:
- services - name: services
volumes: volumes:
- "{{ services.caddy.volume }}/Caddyfile:/etc/caddy/Caddyfile:ro" - "{{ services.caddy.volume }}/Caddyfile:/etc/caddy/Caddyfile:ro"
- "{{ services.caddy.volume }}/config:/config:rw" - "{{ services.caddy.volume }}/config:/config:rw"

View file

@ -22,7 +22,7 @@
UID: '1000' UID: '1000'
GID: '1000' GID: '1000'
networks: networks:
- services - name: services
volumes: volumes:
- "{{ services.emby.volume }}/programdata:/config:rw" - "{{ services.emby.volume }}/programdata:/config:rw"
- "{{ services.emby.volume }}/tvshows:/mnt/share1:rw" - "{{ services.emby.volume }}/tvshows:/mnt/share1:rw"

View file

@ -11,7 +11,7 @@
image: "sethsimmons/simple-monerod:{{ services.monerod.version }}" image: "sethsimmons/simple-monerod:{{ services.monerod.version }}"
restart_policy: unless-stopped restart_policy: unless-stopped
networks: networks:
- services - name: services
volumes: volumes:
- monerod-node-blockchain:/home/monero/.bitmonero:rw - monerod-node-blockchain:/home/monero/.bitmonero:rw
published_ports: published_ports:

View file

@ -1,5 +1,11 @@
{ {
"data-root": "{{ ssd_mount_point }}/docker-runtime", "data-root": "{{ ssd_mount_point }}/docker-runtime",
"default-address-pools": [
{
"base": "172.17.0.0/16",
"size": 24
}
],
"ipv6": true, "ipv6": true,
"fixed-cidr-v6": "fd00::/80" "fixed-cidr-v6": "fd00::/80"
} }