This commit is contained in:
poslop
2022-08-04 19:29:35 -05:00
commit ebef2a3eb1

163
docker-compose.yml Normal file
View File

@@ -0,0 +1,163 @@
version: "3.8"
networks:
# in:
# name: in
# internal: true
net:
name: net
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- net
volumes:
- /docker/store/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3030:3000"
- "222:22"
watchtower:
container_name: watchtower
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
hostname: syncthing
environment:
- PUID=1000
- PGID=1000
volumes:
- /docker/store/syncthing/config:/config
- /home/poslop:/data
ports:
- 8384:8384
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "8088:80/tcp"
dns:
- 127.0.0.1
- 1.1.1.1
environment:
TZ: 'America/Chicago'
WEBPASSWORD: ${PASS}
# Volumes store your data between container upgrades
volumes:
- '/docker/store/pihole/etc-pihole:/etc/pihole'
- '/docker/store/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
volumes:
- /docker/store/jellyfin:/config
- /home/poslop/Videos/media:/data
ports:
- 7359:7359/udp
- 1900:1900/udp
- 8096:8096
restart: unless-stopped
networks: ["net"]
swag:
container_name: swag
image: lscr.io/linuxserver/swag
restart: unless-stopped
volumes:
- /docker/store/swag:/config
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
- URL=mintyserver.net
- VALIDATION=http
ports:
- 443:443
- 80:80
networks: ["net"]
ncdb:
container_name: ncdb
image: mariadb
restart: unless-stopped
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- /docker/store/nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${PASS2}
- MYSQL_PASSWORD=${PASS2}
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=ncdb
networks: ["net"]
nextcloud:
container_name: nextcloud
image: nextcloud
restart: unless-stopped
user: 1000:1000
depends_on:
- "ncdb"
volumes:
- /docker/store/nextcloud/next:/var/www/html
- /home/poslop:/home/poslop
- /docker/store/nextcloud/php.ini:/usr/local/etc/php/conf.d/php.ini
environment:
- UMASK=002
- MYSQL_PASSWORD=
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=ncdb
networks: ["net"]
ports:
- 8800:80
qflood:
container_name: qflood
restart: unless-stopped
image: cr.hotio.dev/hotio/qflood
ports:
- "8080:8080"
- "3000:3000"
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=America/Chicago
- FLOOD_AUTH=false
volumes:
- /docker/store/qflood:/config
- /home/poslop:/Files