-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (65 loc) · 1.53 KB
/
docker-compose.yml
File metadata and controls
68 lines (65 loc) · 1.53 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
networks:
reverse-proxy:
external: true
name: reverse-proxy
internal:
driver: bridge
services:
app:
build:
context: .docker/app
args:
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION:-stable-fpm}
volumes:
- ./volumes/nextcloud:/var/www/html
- ./app-hooks/post-installation:/docker-entrypoint-hooks.d/post-installation
restart: unless-stopped
environment:
- POSTGRES_DB=${POSTGRES_DB:-nextcloud}
- POSTGRES_USER=${POSTGRES_USER:-nextcloud}
- POSTGRES_PASSWORD
- POSTGRES_HOST=${POSTGRES_HOST:-postgres}
- NEXTCLOUD_ADMIN_USER
- NEXTCLOUD_ADMIN_PASSWORD
- NEXTCLOUD_ADMIN_EMAIL
- NEXTCLOUD_TRUSTED_DOMAINS
- SMTP_HOST
- SMTP_SECURE
- SMTP_PORT
- SMTP_AUTHTYPE
- SMTP_NAME
- SMTP_PASSWORD
- MAIL_FROM_ADDRESS
- MAIL_DOMAIN
- TZ
networks:
- internal
web:
build: .docker/web
restart: unless-stopped
volumes:
- ./volumes/nextcloud:/var/www/html:ro
- ./volumes/nginx/includes:/etc/nginx/conf.d/includes:rw
environment:
- VIRTUAL_HOST
- LETSENCRYPT_HOST
- LETSENCRYPT_EMAIL
- TZ
depends_on:
- app
networks:
- internal
- reverse-proxy
cron:
build:
context: .docker/app
args:
NEXTCLOUD_VERSION: ${NEXTCLOUD_VERSION:-stable-fpm}
restart: unless-stopped
environment:
- TZ
volumes:
- ./volumes/nextcloud:/var/www/html
networks:
- internal
entrypoint: /cron.sh