forked from cmars/onionpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (37 loc) · 782 Bytes
/
docker-compose.yml
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
version: '3'
volumes:
nextcloud:
db:
onionpipe:
services:
onionpipe:
image: ghcr.io/cmars/onionpipe:main
restart: always
command: --secrets /var/lib/onionpipe/secrets.json app:80~80@nextcloud
volumes:
- onionpipe:/var/lib/onionpipe
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
ports:
- '5432'
environment:
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=changeme
- POSTGRES_DB=nextcloud
app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- nextcloud:/var/www/html
environment:
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=changeme
- POSTGRES_DB=nextcloud
- POSTGRES_HOST=db