-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
40 lines (38 loc) · 927 Bytes
/
docker-compose.example.yml
File metadata and controls
40 lines (38 loc) · 927 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
31
32
33
34
35
36
37
38
39
40
services:
nextcloud:
image: ${NEXTCLOUD_IMAGE}
environment:
VIRTUAL_HOST: ${VIRTUAL_HOST}
VIRTUAL_PATH: ${NEXTCLOUD_VIRTUAL_PATH}
networks:
- reverse-proxy
- internal
notify_push:
image: ${NOTIFY_PUSH_IMAGE}
environment:
PORT: "${NOTIFY_PUSH_PORT}"
NEXTCLOUD_URL: "${NEXTCLOUD_URL}"
REDIS_URL: "${REDIS_URL}"
DATABASE_URL: "${DATABASE_URL}"
DATABASE_PREFIX: "${DATABASE_PREFIX}"
LOG: "${NOTIFY_PUSH_LOG}"
VIRTUAL_HOST: ${VIRTUAL_HOST}
VIRTUAL_PATH: ${NOTIFY_PUSH_VIRTUAL_PATH}
VIRTUAL_DEST: ${NOTIFY_PUSH_VIRTUAL_DEST}
VIRTUAL_PORT: "${NOTIFY_PUSH_PORT}"
expose:
- "${NOTIFY_PUSH_PORT}"
networks:
- reverse-proxy
- internal
- redis
- postgres
networks:
internal:
driver: bridge
reverse-proxy:
external: true
redis:
external: true
postgres:
external: true