259 lines
6.1 KiB
YAML
259 lines
6.1 KiB
YAML
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
|
|
- ddclient-cache:/var/cache/ddclient
|
|
|
|
|
|
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
|
|
FILE__USER: /run/secrets/transmission-user
|
|
FILE__PASS: /run/secrets/transmission-pw
|
|
volumes:
|
|
- transmission-config:/config
|
|
- /mnt/storage/download:/downloads
|
|
- /mnt/storage/download/torrent:/watch
|
|
ports:
|
|
- 9091:9091
|
|
- 51413:51413
|
|
- 51413:51413/udp
|
|
restart: unless-stopped
|
|
secrets:
|
|
- transmission-user
|
|
- transmission-pw
|
|
|
|
|
|
# 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
|
|
environment: *common-environment
|
|
volumes:
|
|
- ./syncthing:/config
|
|
- /mnt/storage/music/Florent:/music
|
|
- /mnt/storage/audrey-sync:/audrey-sync
|
|
ports:
|
|
- 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
|
|
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/lychee-db-root-pw
|
|
FILE__MYSQL_PASSWORD: /run/secrets/lychee-db-pw
|
|
MYSQL_DATABASE: lychee
|
|
MYSQL_USER: lychee
|
|
secrets:
|
|
- lychee-db-root-pw
|
|
- lychee-db-pw
|
|
|
|
|
|
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
|
|
FILE__DB_PASSWORD: /run/secrets/lychee-db-pw
|
|
DB_HOST: lychee-db
|
|
DB_USERNAME: lychee
|
|
DB_DATABASE: lychee
|
|
DB_PORT: 3306
|
|
secrets:
|
|
- lychee-db-pw
|
|
|
|
|
|
# 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
|
|
|
|
|
|
nextcloud:
|
|
image: lscr.io/linuxserver/nextcloud:latest
|
|
container_name: nextcloud
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- nextcloud-db
|
|
environment: *common-environment
|
|
volumes:
|
|
- nextcloud-config:/config
|
|
- nextcloud-data:/data
|
|
|
|
|
|
nextcloud-db:
|
|
image: linuxserver/mariadb:latest
|
|
container_name: nextcloud-db
|
|
restart: unless-stopped
|
|
environment:
|
|
<<: *common-environment
|
|
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/nextcloud-db-root-pw
|
|
FILE__MYSQL_PASSWORD: /run/secrets/nextcloud-db-pw
|
|
MYSQL_DATABASE: database
|
|
MYSQL_USER: user
|
|
volumes:
|
|
- nextcloud-db-config:/config
|
|
secrets:
|
|
- nextcloud-db-root-pw
|
|
- nextcloud-db-pw
|
|
|
|
|
|
volumes:
|
|
money-data:
|
|
zotero-data:
|
|
lychee-db:
|
|
lychee-config:
|
|
lychee-pictures:
|
|
taskserver-data:
|
|
taskserver-certs:
|
|
transmission-config:
|
|
nextcloud-data:
|
|
nextcloud-config:
|
|
nextcloud-db-config:
|
|
ddclient-cache:
|
|
|
|
|
|
secrets:
|
|
lychee-db-root-pw:
|
|
file: lychee-db-root-pw.secret
|
|
lychee-db-pw:
|
|
file: lychee-db-pw.secret
|
|
nextcloud-db-root-pw:
|
|
file: nextcloud-db-root-pw.secret
|
|
nextcloud-db-pw:
|
|
file: nextcloud-db-pw.secret
|
|
transmission-user:
|
|
file: transmission-user.secret
|
|
transmission-pw:
|
|
file: transmission-pw.secret
|