Skip to content

Commit 4c5ea20

Browse files
Update 61-nextcloud.yaml
1 parent 939cabe commit 4c5ea20

1 file changed

Lines changed: 1 addition & 34 deletions

File tree

scripts/nginx/61-nextcloud.yaml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,4 @@
11
#
22
# NextCloud - Self hosted cloud
33
#
4-
nextcloud:
5-
restart: unless-stopped
6-
image: nextcloud:latest
7-
container_name: nextcloud
8-
hostname: nextcloud
9-
depends_on:
10-
nginx-proxy:
11-
condition: service_healthy
12-
letsencrypt-nginx-proxy-companion:
13-
condition: service_started
14-
mariadb:
15-
condition: service_started
16-
redis:
17-
condition: service_started
18-
volumes:
19-
- ${CONFIGS}/NextCloud:/var/www/html
20-
- ${MEDIA}:/Media
21-
- /etc/localtime:/etc/localtime:ro
22-
- /bin/netstat:/bin/netstat:ro
23-
environment:
24-
- PGID=${GROUPID}
25-
- PUID=${USERID}
26-
- TZ=${TIMEZONE}
27-
- REDIS_HOST=redis
28-
- VIRTUAL_HOST=nextcloud.${MYDOMAIN}
29-
- VIRTUAL_PORT=80
30-
- VIRTUAL_NETWORK=nginx-proxy
31-
- LETSENCRYPT_HOST=nextcloud.${MYDOMAIN}
32-
- LETSENCRYPT_EMAIL=${MYEMAIL}
33-
healthcheck:
34-
test: ["CMD-SHELL", "netstat -ntlp | grep :80"]
35-
interval: 10s
36-
timeout: 2s
37-
retries: 3
4+
# Coming soon

0 commit comments

Comments
 (0)