fix docker using private IP ranges
This commit is contained in:
parent
27582e37f6
commit
c6f47e454d
4 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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'}
|
||||
|
|
7
roles/docker/files/daemon.json
Normal file
7
roles/docker/files/daemon.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"default-address-pools":
|
||||
[
|
||||
{"base":"10.204.0.0/16","size":24}
|
||||
|
||||
]
|
||||
}
|
|
@ -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
|
||||
|
|
Reference in a new issue