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