fix docker using private IP ranges

This commit is contained in:
Pim Kunis 2023-01-18 23:50:54 +01:00
parent 27582e37f6
commit c6f47e454d
4 changed files with 13 additions and 1 deletions

View file

@ -29,6 +29,7 @@ All services below are running under Docker, except NSD and Borg.
## TODO
- Forward to https not working correctly yet.
- Actually freshrss seems better than miniflux
### NSD

View file

@ -4,10 +4,10 @@
- {role: 'ssh', tags: 'ssh'}
- {role: 'borg', tags: 'borg'}
- {role: 'nsd', tags: 'nsd'}
- {role: 'forgejo', tags: 'forgejo'}
- {role: 'syncthing', tags: 'syncthing'}
- {role: 'kms', tags: 'kms'}
- {role: 'pizzeria', tags: 'pizzeria'}
- {role: 'forgejo', tags: 'forgejo'}
- {role: 'radicale', tags: 'radicale'}
- {role: 'mastodon', tags: 'mastodon'}
- {role: 'seafile', tags: 'seafile'}

View file

@ -0,0 +1,7 @@
{
"default-address-pools":
[
{"base":"10.204.0.0/16","size":24}
]
}

View file

@ -29,6 +29,10 @@
name:
- docker
- docker-compose
- name: Copy daemon.json
copy:
src: "{{ role_path }}/files/daemon.json"
dest: /etc/docker/daemon.json
- name: Start Docker
systemd:
name: docker