223 lines
5.2 KiB
YAML
223 lines
5.2 KiB
YAML
version: '3.4'
|
|
|
|
x-common-environment: &common-environment
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: Europe/Helsinki
|
|
|
|
services:
|
|
|
|
bind9:
|
|
image: ubuntu/bind9:9.18-22.04_beta
|
|
container_name: bind9
|
|
restart: always
|
|
volumes:
|
|
- ./bind9/named.conf:/etc/bind/named.conf
|
|
- ./bind9/local.db:/etc/bind/local.db
|
|
- ./bind9/lan.db:/etc/bind/lan.db
|
|
- ./bind9/guiotte.db:/etc/bind/guiotte.db
|
|
environment: *common-environment
|
|
ports:
|
|
- "53:53/udp"
|
|
|
|
swag:
|
|
image: lscr.io/linuxserver/swag
|
|
container_name: swag
|
|
restart: always
|
|
cap_add:
|
|
- NET_ADMIN
|
|
environment:
|
|
<<: *common-environment
|
|
URL: guiotte.fr
|
|
SUBDOMAINS: wildcard
|
|
VALIDATION: dns
|
|
DNSPLUGIN: ovh
|
|
EMAIL: florent@guiotte.fr
|
|
volumes:
|
|
- ./swag:/config
|
|
ports:
|
|
- 443:443
|
|
- 80:80
|
|
|
|
ddclient:
|
|
image: lscr.io/linuxserver/ddclient:latest
|
|
container_name: ddclient
|
|
restart: unless-stopped
|
|
environment: *common-environment
|
|
volumes:
|
|
- ./ddclient:/config
|
|
|
|
money:
|
|
image: ihatemoney/ihatemoney
|
|
container_name: money
|
|
restart: always
|
|
volumes:
|
|
- money-data:/database
|
|
environment:
|
|
- ACTIVATE_DEMO_PROJECT=False
|
|
- SESSION_COOKIE_SECURE=False
|
|
- SECRET_KEY=yolo
|
|
|
|
|
|
transmission:
|
|
image: lscr.io/linuxserver/transmission:latest
|
|
container_name: transmission
|
|
environment:
|
|
<<: *common-environment
|
|
volumes:
|
|
- transmission-config:/config
|
|
- /mnt/storage/download:/downloads
|
|
- /mnt/storage/download/torrent:/watch
|
|
ports:
|
|
- 9091:9091
|
|
- 51413:51413
|
|
- 51413:51413/udp
|
|
restart: unless-stopped
|
|
|
|
# WIP
|
|
# radarr:
|
|
# image: lscr.io/linuxserver/radarr:latest
|
|
# container_name: radarr
|
|
# environment:
|
|
# - PUID=1000
|
|
# - PGID=1000
|
|
# - TZ=Europe/Helsinki
|
|
# volumes:
|
|
# - ./radarr:/config
|
|
# - /mnt/storage/video/Films/:/movies
|
|
# - /mnt/storage/download/:/downloads
|
|
# ports:
|
|
# - 7878:7878
|
|
# restart: unless-stopped
|
|
|
|
|
|
syncthing:
|
|
image: lscr.io/linuxserver/syncthing:latest
|
|
container_name: syncthing
|
|
hostname: drmanhattan #optional
|
|
environment: *common-environment
|
|
volumes:
|
|
- ./syncthing:/config
|
|
- /mnt/storage/music/Florent:/music
|
|
ports:
|
|
#- 8384:8384
|
|
- 22000:22000/tcp
|
|
- 22000:22000/udp
|
|
- 21027:21027/udp
|
|
restart: unless-stopped
|
|
|
|
|
|
lychee-db:
|
|
image: lscr.io/linuxserver/mariadb:latest
|
|
container_name: lychee-db
|
|
restart: always
|
|
volumes:
|
|
- lychee-db:/config
|
|
environment:
|
|
<<: *common-environment
|
|
MYSQL_ROOT_PASSWORD: rootpassword
|
|
MYSQL_DATABASE: lychee
|
|
MYSQL_USER: lychee
|
|
MYSQL_PASSWORD: dbpassword
|
|
|
|
|
|
lychee:
|
|
image: lscr.io/linuxserver/lychee:latest
|
|
container_name: lychee
|
|
restart: always
|
|
depends_on:
|
|
- lychee-db
|
|
volumes:
|
|
- lychee-config:/config
|
|
- lychee-pictures:/pictures
|
|
environment:
|
|
<<: *common-environment
|
|
DB_HOST: lychee-db
|
|
DB_USERNAME: lychee
|
|
DB_PASSWORD: dbpassword
|
|
DB_DATABASE: lychee
|
|
DB_PORT: 3306
|
|
|
|
# WIP
|
|
# zotero:
|
|
# #image: lscr.io/linuxserver/nginx:latest
|
|
# #image: sashgorokhov/webdav
|
|
# build: zotero
|
|
# container_name: zotero
|
|
# environment:
|
|
# - PUID=1000
|
|
# - PGID=1000
|
|
# - TZ=Europe/Helsinki
|
|
# - USERNAME=user
|
|
# - PASSWORD=passwd
|
|
# volumes:
|
|
# - zotero-data:/data
|
|
# #- zotero-data:/media
|
|
# restart: unless-stopped
|
|
# # https://github.com/linuxserver/docker-baseimage-alpine-nginx/blob/master/Dockerfile
|
|
# # https://github.com/linuxserver/docker-nginx/blob/master/Dockerfile
|
|
# # https://github.com/sashgorokhov/docker-nginx-webdav/blob/master/Dockerfile
|
|
# # XXX: Missing "nginx-extra" in my build?
|
|
|
|
|
|
taskserver:
|
|
build: taskserver
|
|
container_name: taskserver
|
|
hostname: dm.guiotte.fr
|
|
restart: always
|
|
environment: *common-environment
|
|
env_file:
|
|
- taskserver/taskserver.env
|
|
ports:
|
|
- "53589:53589"
|
|
volumes:
|
|
- taskserver-data:/var/taskd
|
|
- taskserver-certs:/ssl_certs
|
|
- ./taskserver/client_certs:/client_certs
|
|
|
|
|
|
slides-notes:
|
|
build: slides-notes
|
|
container_name: slides-notes
|
|
restart: always
|
|
environment: *common-environment
|
|
volumes:
|
|
- ./slides-notes/slides:/app/slides
|
|
|
|
|
|
baikal:
|
|
image: ckulka/baikal:nginx
|
|
container_name: baikal
|
|
restart: always
|
|
volumes:
|
|
- baikal-config:/var/www/baikal/config
|
|
#- baikal-data:/var/www/baikal/Specific
|
|
|
|
|
|
baikal-db:
|
|
image: lscr.io/linuxserver/mariadb:latest
|
|
container_name: baikal-db
|
|
restart: always
|
|
volumes:
|
|
- baikal-db:/config
|
|
environment:
|
|
<<: *common-environment
|
|
MYSQL_ROOT_PASSWORD: rootpassword
|
|
MYSQL_DATABASE: baikal
|
|
MYSQL_USER: baikal
|
|
MYSQL_PASSWORD: dbpassword
|
|
|
|
|
|
|
|
volumes:
|
|
money-data:
|
|
zotero-data:
|
|
lychee-db:
|
|
lychee-config:
|
|
lychee-pictures:
|
|
taskserver-data:
|
|
taskserver-certs:
|
|
transmission-config:
|
|
baikal-config:
|
|
baikal-db:
|