- Mitglied seit
- 17. Mai 2020
- Beiträge
- 266
- Punkte für Reaktionen
- 19
- Punkte
- 24
hier ist meine
YAML:
version: "2.1"
services:
crowdsec:
image: crowdsecurity/crowdsec:latest
container_name: crowdsec
environment:
- GID=0
- COLLECTIONS=crowdsecurity/nginx crowdsecurity/http-cve crowdsecurity/whitelist-good-actors
- CUSTOM_HOSTNAME=debian
volumes:
- /home/docker/swag/crowdsec/config:/etc/crowdsec:rw
- /home/docker/swag/crowdsec/data:/var/lib/crowdsec/data:rw
- /home/docker/swag/config/log/nginx:/var/log/swag:ro
- /home/docker/swag/config/log/syslog:/var/log/syslog:ro
- /var/log:/var/log/host:ro
restart: unless-stopped
logging:
driver: syslog
options:
syslog-address: "udp://192.168.178.199:514"
tag: 'crowdsec'
swag:
image: linuxserver/swag:latest
container_name: swag
restart: unless-stopped
cap_add:
- NET_ADMIN
environment:
- PUID=0
- PGID=0
- TZ=Europe/Berlin
- DOCKER_MODS=linuxserver/mods:swag-dashboard|linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-maxmind|linuxserver/mods:swag-crowdsec
- CROWDSEC_API_KEY=xxxxxx
- CROWDSEC_LAPI_URL=http://crowdsec:8080
- MAXMINDDB_LICENSE_KEY=xxx
- URL=xxx.at
- SUBDOMAINS=wildcard
- VALIDATION=dns #WIE DAS LE ZERTIFIKAT GEHOLT WERDEN SOLL
- DNSPLUGIN=cloudflare #DOMAIN ANBIETER
- PROPAGATION=30
- EMAIL=xxxxxx@xxxx.at
volumes:
- /home/docker/swag/config:/config
ports:
- 443:443
- 80:80
- 81:81
dns:
- 192.168.178.222
logging:
driver: syslog
options:
syslog-address: "udp://192.168.178.199:514"
tag: 'swag'
tailon:
ports:
- '5002:80'
container_name: tailon
volumes:
- /home/docker/swag/config/log/syslog:/log/syslog
- /home/docker/swag/config/log/nginx/access.log:/log/nginx/access.log
- /home/docker/swag/config/log/nginx/unauthorized.log:/log/nginx/unauthorized.log
- /home/docker/swag/config/log/nginx/error.log:/log/nginx/error.log
image: ghcr.io/kmlucy/docker-tailon
restart: unless-stopped
#WENN DAS NICHT VERWENDET WIRD, DANN MUSS DER TEIL MIT "loggin:" entfernt werden
syslog-ng:
image: lscr.io/linuxserver/syslog-ng:latest
container_name: syslog-ng
environment:
- PUID=0
- PGID=0
- TZ=Europe/Berlin
volumes:
- /home/docker/docker/swag/syslog:/config
- /home/docker/docker/swag/config/log/syslog:/var/log #optional
ports:
- 514:5514/udp
- 601:6601/tcp
- 6514:6514/tcp
restart: unless-stopped
cloudcmd:
user: "0:0"
container_name: cloudcmd
ports:
- 9080:8000
volumes:
- /home/docker/swag/cloudcmd:/root
- /home/docker/swag/config:/mnt/swag
image: coderaiser/cloudcmd
restart: unless-stopped
logging:
driver: syslog
options:
syslog-address: "udp://192.168.178.199:514"
tag: 'cloudcmd'
Zuletzt bearbeitet: