docker-compose environment for the entire v.st system
https://v.st/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
705 B
31 lines
705 B
version: "3"
|
|
|
|
services:
|
|
database:
|
|
image: postgres:13.4-alpine
|
|
environment:
|
|
- POSTGRES_USER=nextcloud
|
|
- POSTGRES_PASSWORD=nextcloud
|
|
- POSTGRES_DB=nextcloud
|
|
volumes:
|
|
- ./database:/var/lib/postgresql/data
|
|
restart: always
|
|
|
|
nextcloud:
|
|
image: nextcloud:23.0.4
|
|
restart: unless-stopped
|
|
ports:
|
|
- 9000:80
|
|
environment:
|
|
- POSTGRES_HOST=database
|
|
- POSTGRES_DB=nextcloud
|
|
- POSTGRES_USER=nextcloud
|
|
- POSTGRES_PASSWORD=nextcloud
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=spacestation
|
|
- NEXTCLOUD_ADMIN_USER=admin
|
|
- NEXTCLOUD_ADMIN_PASSWORD=admin
|
|
volumes:
|
|
- ./nextcloud:/var/www/html
|
|
depends_on:
|
|
- database
|
|
|
|
|