You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
550 B
YAML
28 lines
550 B
YAML
5 years ago
|
services:
|
||
|
nc:
|
||
|
image: nextcloud:apache
|
||
|
environment:
|
||
|
- POSTGRES_HOST=db
|
||
|
- POSTGRES_PASSWORD=nextcloud
|
||
|
- POSTGRES_DB=nextcloud
|
||
|
- POSTGRES_USER=nextcloud
|
||
|
ports:
|
||
|
- 80:80
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- nc_data:/var/www/html
|
||
|
db:
|
||
|
image: postgres:alpine
|
||
|
environment:
|
||
|
- POSTGRES_PASSWORD=nextcloud
|
||
|
- POSTGRES_DB=nextcloud
|
||
|
- POSTGRES_USER=nextcloud
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- db_data:/var/lib/postgresql/data
|
||
4 years ago
|
expose:
|
||
|
- 5432
|
||
5 years ago
|
volumes:
|
||
|
db_data:
|
||
|
nc_data:
|