mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Adding DNS to docker for non-host network mode.
This commit is contained in:
parent
10750a55e4
commit
4d8cae43a0
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
|
||||
"dns": ["127.0.0.1"],
|
||||
"dns-search": ["node.consul", "service.consul"]
|
||||
}
|
||||
|
|
|
@ -154,7 +154,6 @@
|
|||
restart_policy: unless-stopped
|
||||
networks_cli_compatible: yes
|
||||
network_mode: host
|
||||
# network_mode: default
|
||||
# networks:
|
||||
# - name: newsblurnet
|
||||
# aliases:
|
||||
|
@ -219,12 +218,12 @@
|
|||
hostname: "{{ inventory_hostname }}"
|
||||
restart_policy: unless-stopped
|
||||
networks_cli_compatible: yes
|
||||
# network_mode: host
|
||||
network_mode: default
|
||||
networks:
|
||||
- name: newsblurnet
|
||||
aliases:
|
||||
- mongo
|
||||
- "{{ inventory_hostname }}"
|
||||
ports:
|
||||
- "27017:27017"
|
||||
command: --config /etc/mongod.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue