Use network between services.
This commit is contained in:
parent
7981bbd807
commit
a9d34bb0b2
@ -15,6 +15,7 @@ services:
|
|||||||
- solr
|
- solr
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
|
- mailarch-network
|
||||||
labels:
|
labels:
|
||||||
# Create TCP endpoint in Traefik called "imaps" on port 993
|
# Create TCP endpoint in Traefik called "imaps" on port 993
|
||||||
# Traefik will do the TLS part and forward it plaintext to 143 here
|
# Traefik will do the TLS part and forward it plaintext to 143 here
|
||||||
@ -33,6 +34,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
LANG: C.UTF-8
|
LANG: C.UTF-8
|
||||||
SOLR_SSL_ENABLED: "false"
|
SOLR_SSL_ENABLED: "false"
|
||||||
|
networks:
|
||||||
|
- mailarch-network
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/docker/dovecot/solr/var-solr:/var/solr
|
- /opt/docker/dovecot/solr/var-solr:/var/solr
|
||||||
- /opt/docker/dovecot/solr:/setupdata
|
- /opt/docker/dovecot/solr:/setupdata
|
||||||
@ -42,3 +45,5 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
traefik-public:
|
traefik-public:
|
||||||
external: true
|
external: true
|
||||||
|
mailarch-network:
|
||||||
|
attachable: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user