Update
This commit is contained in:
parent
9a69f926ba
commit
308593a6bf
3
.env
3
.env
|
|
@ -1,4 +1,5 @@
|
||||||
CONF=../config/
|
CONF=../config/
|
||||||
BIND=
|
BIND=
|
||||||
CERT=../srvtls/
|
CERT=../srvtls/
|
||||||
DATA=../ncdata/
|
DATA=../cndata/
|
||||||
|
DORG=docker.io
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,11 @@ networks:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: 192.168.2.0/24
|
- subnet: 192.168.2.0/24
|
||||||
|
|
||||||
local:
|
local:
|
||||||
external: true
|
internal: true
|
||||||
|
nextc:
|
||||||
|
internal: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|
||||||
|
|
@ -23,10 +26,15 @@ volumes:
|
||||||
webmail-data:
|
webmail-data:
|
||||||
webmail-overrides:
|
webmail-overrides:
|
||||||
|
|
||||||
|
embys-config:
|
||||||
|
fsync-var:
|
||||||
|
nextc-html:
|
||||||
|
nextc-db:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
resolver:
|
resolver:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}unbound:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/unbound:${MAILU_VERSION:-1.9}
|
||||||
env_file: ${CONF?err}mailu.env
|
env_file: ${CONF?err}mailu.env
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -46,13 +54,13 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
front:
|
front:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/nginx:${MAILU_VERSION:-1.9}
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
env_file: ${CONF?err}mailu.env
|
env_file: ${CONF?err}mailu.env
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
options:
|
options:
|
||||||
tag: mailu-front
|
tag: docker-front
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
@ -76,7 +84,7 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/admin:${MAILU_VERSION:-1.9}
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONF?err}mailu.env
|
- ${CONF?err}mailu.env
|
||||||
|
|
@ -92,7 +100,7 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
imap:
|
imap:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/dovecot:${MAILU_VERSION:-1.9}
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONF?err}mailu.env
|
- ${CONF?err}mailu.env
|
||||||
|
|
@ -107,7 +115,7 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/postfix:${MAILU_VERSION:-1.9}
|
||||||
restart: always
|
restart: always
|
||||||
env_file: ${CONF?err}mailu.env
|
env_file: ${CONF?err}mailu.env
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -121,7 +129,7 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
antispam:
|
antispam:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/rspamd:${MAILU_VERSION:-1.9}
|
||||||
hostname: antispam
|
hostname: antispam
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
|
|
@ -137,7 +145,7 @@ services:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
webmail:
|
webmail:
|
||||||
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}roundcube:${MAILU_VERSION:-1.9}
|
image: ${DORG?err}/mailu/roundcube:${MAILU_VERSION:-1.9}
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- ${CONF?err}mailu.env
|
- ${CONF?err}mailu.env
|
||||||
|
|
@ -153,3 +161,69 @@ services:
|
||||||
dns:
|
dns:
|
||||||
- 192.168.2.254
|
- 192.168.2.254
|
||||||
|
|
||||||
|
embys:
|
||||||
|
image: ${DORG?err}/emby/embyserver
|
||||||
|
restart: on-failure:5
|
||||||
|
env_file:
|
||||||
|
- ${CONF?err}embys.env
|
||||||
|
volumes:
|
||||||
|
- ${BIND?err}embys-config:/config
|
||||||
|
- ${DATA?err}fmedia:/fmedia
|
||||||
|
ports:
|
||||||
|
- "8097:8096"
|
||||||
|
networks:
|
||||||
|
- local
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
|
||||||
|
fsync:
|
||||||
|
image: ${DORG?err}/syncthing/syncthing
|
||||||
|
restart: on-failure:5
|
||||||
|
volumes:
|
||||||
|
- ${BIND}fsync-var:/var/syncthing
|
||||||
|
- /srv/fmedia/Mobile/Andrew:/var/syncthing/Andrew
|
||||||
|
- /srv/fmedia/Mobile/Susan:/var/syncthing/Susan
|
||||||
|
ports:
|
||||||
|
- "8384:8384"
|
||||||
|
env_file:
|
||||||
|
- ${CONF?err}fsync.env
|
||||||
|
networks:
|
||||||
|
- local
|
||||||
|
|
||||||
|
nextc:
|
||||||
|
image: ${DORG?err}/nextcloud:24.0
|
||||||
|
build:
|
||||||
|
context: https://cor.cherished.me/gt/andrew/docker-nextcloud.git
|
||||||
|
args:
|
||||||
|
- "VERSION=24.0"
|
||||||
|
- "PUID=1000"
|
||||||
|
restart: on-failure:5
|
||||||
|
volumes:
|
||||||
|
- ${BIND?err}nextc-html:/var/www/html
|
||||||
|
- ${DATA?err}:/ncdata
|
||||||
|
- /srv/fmedia:/fmedia
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
env_file:
|
||||||
|
- ${CONF?err}nextc.env
|
||||||
|
depends_on:
|
||||||
|
- nextc-db
|
||||||
|
networks:
|
||||||
|
- local
|
||||||
|
- nextc
|
||||||
|
|
||||||
|
nextc-db:
|
||||||
|
image: ${DORG?err}/mariadb:10.8
|
||||||
|
restart: on-failure:5
|
||||||
|
volumes:
|
||||||
|
- ${BIND?err}nextc-db:/var/lib/mysql
|
||||||
|
env_file:
|
||||||
|
- ${CONF?err}nextc-db.env
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL","/usr/bin/mysql -hlocalhost -p$$MARIADB_ROOT_PASSWORD --execute=\"use ncdb;\""]
|
||||||
|
interval: 20s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
networks:
|
||||||
|
- nextc
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue