Fix network config
This commit is contained in:
parent
b5f028f7ed
commit
1020c59c50
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue