-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
39 lines (39 loc) · 1.04 KB
/
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
version: '3.3'
services:
nextcloud:
build: .
depends_on:
- postgres
environment:
POSTGRES_DB: ${POSTGRES_DB:-nextcloud}
POSTGRES_USER: ${POSTGRES_USER:-nextcloud}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-nextcloud}
POSTGRES_HOST: ${POSTGRES_HOST:-postgres}
NEXTCLOUD_ADMIN_USER: ${NEXTCLOUD_ADMIN_USER:-admin}
NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD:-admin}
image: registry.heroku.com/smallweirdnumber-nextcloud/web
ports:
- 8000:80
restart: always
volumes:
- nextcloud:/var/www/html
- apps:/var/www/html/custom_apps
- config:/var/www/html/config
- data:/var/www/html/data
- theme:/var/www/html/themes/custom
postgres:
environment:
POSTGRES_DB: ${POSTGRES_DB:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_USER: ${POSTGRES_USER:-postgres}
image: postgres
restart: always
volumes:
- postgres:/var/lib/postgresql/data
volumes:
apps:
config:
data:
nextcloud:
postgres:
theme: