-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
30 lines (30 loc) · 744 Bytes
/
Copy pathcompose.yml
File metadata and controls
30 lines (30 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3.9'
services:
nextcloud:
image: docker.io/nextcloud:stable
restart: unless-stopped
volumes:
- /srv/nextcloud:/var/www/html
- /etc/localtime:/etc/localtime:ro
env_file: .env
networks:
- caddy
- postgres
- redis
- ldap
labels:
traefik.enable: 'true'
traefik.http.routers.nextcloud.rule: 'Host(`cloud.marcpartensky.com`)'
traefik.http.routers.nextcloud.entrypoints: web
healthcheck:
test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep
'"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
networks:
ldap:
external: true
caddy:
external: true
postgres:
external: true
redis:
external: true