Created
January 6, 2020 14:55
-
-
Save pedrovanzella/db4ba42e8e36488e321ed07a603b9d41 to your computer and use it in GitHub Desktop.
znc stack
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.2" | |
services: | |
znc: | |
image: linuxserver/znc | |
container_name: znc | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=America/Sao_Paulo | |
volumes: | |
- znc_data:/config | |
ports: | |
- target: 6501 | |
published: 6501 | |
protocol: tcp | |
networks: | |
- znc_network | |
deploy: | |
mode: replicated | |
replicas: 1 | |
placement: | |
constraints: [node.labels.model == pi4b4gb] | |
networks: | |
znc_network: | |
driver: overlay | |
attachable: true | |
volumes: | |
znc_data: | |
driver: local | |
driver_opts: | |
type: nfs | |
o: addr=mordor.arrakis,nolock,soft,rw | |
device: :/Media/docker-data/znc/znc/_data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment