Created
July 4, 2017 17:06
-
-
Save hiagop/af0d309f1710eac21de951f5290e207b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
imap: | |
image: cyrus | |
hostname: cyrus | |
volumes: | |
- volume1 | |
- volume2 | |
- volume3 | |
- volume4 | |
secrets: | |
- source: key | |
target: my.key | |
uid: '0' | |
gid: '109' | |
mode: 0640 | |
- source: cert | |
target: my.crt | |
uid: '0' | |
gid: '109' | |
mode: 0640 | |
ports: | |
- 110:110 | |
- 143:143 | |
- 993:993 | |
- 995:995 | |
- 4190:4190 | |
restart: always | |
networks: | |
logger: | |
image: gliderlabs/logspout | |
hostname: logspout | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
networks: | |
command: syslog://log-server-ip:514 | |
networks: | |
mail: | |
driver: bridge | |
secrets: | |
key: | |
file: ./my.key | |
cert: | |
file: ./my.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment