Its networks not network
This commit is contained in:
parent
bcb5eb0a1c
commit
bcad9ab600
|
@ -21,7 +21,7 @@ services:
|
||||||
- config/:/tmp/docker-mailserver/
|
- config/:/tmp/docker-mailserver/
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network:
|
networks:
|
||||||
- mail-network
|
- mail-network
|
||||||
cap_add: ["NET_ADMIN", "SYS_PTRACE"]
|
cap_add: ["NET_ADMIN", "SYS_PTRACE"]
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- mail
|
- mail
|
||||||
network:
|
networks:
|
||||||
- mail-network
|
- mail-network
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
|
|
Reference in New Issue