1
0
Fork 0

replace 'security_opt' with ':Z'

This commit is contained in:
Pratham Patel 2022-07-23 20:06:02 +05:30
parent 4ad3269b5f
commit 42229828b4
7 changed files with 18 additions and 28 deletions

View File

@ -9,11 +9,9 @@ services:
ports:
- 8030:1313
volumes:
- /trayimurti/containers/volumes/thefossguy-blog:/src:Z
- /trayimurti/containers/volumes/blog:/src:Z
environment:
- TZ=Asia/Kolkata
security_opt:
- label=disable
# this image is not official, but is endorsed in a somewhat official capacity
# https://discourse.gohugo.io/t/klakeggs-wonderful-hugo-docker-image-update-thread/20347

View File

@ -12,8 +12,6 @@ services:
- /trayimurti/containers/volumes/thefossguy-machines:/src:Z
environment:
- TZ=Asia/Kolkata
security_opt:
- label=disable
# this image is not official, but is endorsed in a somewhat official capacity
# https://discourse.gohugo.io/t/klakeggs-wonderful-hugo-docker-image-update-thread/20347

View File

@ -6,7 +6,7 @@ services:
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
- db:/var/lib/mysql:Z
environment:
- MYSQL_ROOT_PASSWORD=
# env_file:
@ -20,7 +20,7 @@ services:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:Z
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
@ -46,7 +46,7 @@ services:
image: nextcloud:fpm-alpine
restart: always
volumes:
- nextcloud:/var/www/html
- nextcloud:/var/www/html:Z
entrypoint: /cron.sh
depends_on:
- db
@ -62,17 +62,17 @@ services:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- vhost.d:/etc/nginx/vhost.d:Z
- html:/usr/share/nginx/html:Z
- /var/run/docker.sock:/tmp/docker.sock:ro
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- certs:/etc/nginx/certs:Z
- vhost.d:/etc/nginx/vhost.d:Z
- html:/usr/share/nginx/html:Z
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- proxy

View File

@ -11,13 +11,11 @@ services:
environment:
- TZ: Asia/Kolkata
volumes:
- /trayimurti/containers/volumes/pi-hole/etc-pihole:/etc/pihole
- /trayimurti/containers/volumes/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d
- /trayimurti/containers/volumes/pi-hole/etc-pihole:/etc/pihole:Z
- /trayimurti/containers/volumes/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d:Z
cap_add:
- NET_ADMIN
restart: unless-stopped
security_opt:
- label=disable
# create dirs
# mkdir -vp /trayimurti/containers/volumes/pi-hole/{etc-pihole,etc-dnsmasq}

View File

@ -7,13 +7,11 @@ services:
environment:
- TZ=Asia/Kolkata
volumes:
- /trayimurti/containers/volumes/pyload-ng/config:/config
- /trayimurti/containers/volumes/pyload-ng/downloads:/downloads
- /trayimurti/containers/volumes/pyload-ng/config:/config:Z
- /trayimurti/containers/volumes/pyload-ng/downloads:/downloads:Z
ports:
- 8081:8000
restart: unless-stopped
security_opt:
- label=disable
# default uname:passwd => pyload:pyload

View File

@ -8,16 +8,14 @@ services:
environment:
- TZ=Asia/Kolkata
volumes:
- /trayimurti/containers/volumes/syncthing/config:/config
- /trayimurti/containers/volumes/syncthing/data:/data
- /trayimurti/containers/volumes/syncthing/config:/config:Z
- /trayimurti/containers/volumes/syncthing/data:/data:Z
ports:
- 8001:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
security_opt:
- label=disable
# create dirs
# mkdir -p /trayimurti/containers/volumes/syncthing/{config,data}

View File

@ -9,9 +9,9 @@ services:
- TRANSMISSION_WEB_HOME=/transmission-web-control/
# - TRANSMISSION_WEB_HOME=/flood-for-transmission/
volumes:
- /trayimurti/torrents/config:/config
- /trayimurti/torrents/downloads:/downloads
- /trayimurti/torrents/watch:/watch
- /trayimurti/torrents/config:/config:Z
- /trayimurti/torrents/downloads:/downloads:Z
- /trayimurti/torrents/watch:/watch:Z
ports:
- 8001:9091
- 51411:51413