108 lines
2.3 KiB
YAML
108 lines
2.3 KiB
YAML
|
|
networks:
|
|
|
|
share:
|
|
external: true
|
|
local:
|
|
internal: false
|
|
nextc:
|
|
internal: true
|
|
|
|
volumes:
|
|
|
|
swags-config:
|
|
ggrav-html:
|
|
nextc-html:
|
|
nextc-config:
|
|
nextc-db:
|
|
nextc-db-config:
|
|
|
|
services:
|
|
|
|
swags:
|
|
image: andrew/swag:1.31.0
|
|
build:
|
|
context: https://cor.cherished.me/gt/andrew/build-swag.git
|
|
restart: always
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=2000
|
|
- TZ=Australia/Perth
|
|
- URL=cherished.me
|
|
- VALIDATION=http
|
|
- SUBDOMAINS=ubu2,dserver
|
|
- CERTPROVIDER=
|
|
- DNSPLUGIN=
|
|
- PROPAGATION=
|
|
- EMAIL=
|
|
- ONLY_SUBDOMAINS=true
|
|
- EXTRA_DOMAINS=
|
|
- STAGING=false
|
|
volumes:
|
|
- ${BIND?err}swags-config:/config
|
|
- ${CERT?err}cherished.me.chained.crt:/defaults/custom-cert.crt:ro
|
|
- ${CERT?err}cherished.me.key:/defaults/custom-cert.key:ro
|
|
- ${CONF?err}ggrav.subfolder.conf:/config/nginx/proxy-confs/ggrav.subfolder.conf:ro
|
|
- ${CONF?err}mailu.subfolder.conf:/config/nginx/proxy-confs/mailu.subfolder.conf:ro
|
|
- ${CONF?err}nextc.subfolder.conf:/config/nginx/proxy-confs/nextc.subfolder.conf:ro
|
|
- ${CONF?err}swags-index.html:/config/www/index.html:ro
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
networks:
|
|
- local
|
|
- share
|
|
|
|
ggrav:
|
|
image: andrew/getgrav:1.7.37.1
|
|
build:
|
|
context: https://cor.cherished.me/gt/andrew/build-grav.git
|
|
args:
|
|
- "GRAV_VERSION=1.7.37.1"
|
|
- "GRAV_SUBDIR=html/gv"
|
|
restart: always
|
|
logging:
|
|
driver: journald
|
|
options:
|
|
tag: docker-ggrav
|
|
volumes:
|
|
- ${BIND?err}ggrav-html:/var/www/html
|
|
healthcheck:
|
|
test: ["CMD-SHELL","curl -fsS http://localhost/gv/"]
|
|
interval: 20s
|
|
timeout: 5s
|
|
retries: 5
|
|
networks:
|
|
- local
|
|
|
|
nextc:
|
|
image: lscr.io/linuxserver/nextcloud:25.0.0
|
|
restart: always
|
|
volumes:
|
|
- ${BIND?err}nextc-config:/config
|
|
- ${DATA?err}fmedia:/fmedia
|
|
- ${DATA?err}ncdata:/ncdata
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=2000
|
|
- TZ=Australia/Perth
|
|
depends_on:
|
|
- nextc-db
|
|
networks:
|
|
- local
|
|
- nextc
|
|
|
|
nextc-db:
|
|
image: lscr.io/linuxserver/mariadb:10.6.10
|
|
restart: always
|
|
volumes:
|
|
- ${BIND?err}nextc-db-config:/config
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=2000
|
|
- TZ=Australia/Perth
|
|
- REMOTE_SQL=
|
|
networks:
|
|
- nextc
|
|
|