41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
|
version: '3'
|
||
|
services:
|
||
|
db:
|
||
|
image: postgres:11-alpine
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /data/educloud.jean-cloud.net/db:/var/lib/postgresql/data
|
||
|
environment:
|
||
|
- POSTGRES_USER=postgres
|
||
|
- POSTGRES_PASSWORD=toDEzbjoTLBCugi9MrDMq9hYAtVEPCLwcDeUJ6ofvqEWqmNEm7YvjNBHnKa
|
||
|
|
||
|
nextcloud1:
|
||
|
image: nextcloud:20-fpm-alpine
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /data/educloud.jean-cloud.net/app1:/var/www/html
|
||
|
environment:
|
||
|
- POSTGRES_HOST=db
|
||
|
- POSTGRES_DB=nextcloud1
|
||
|
- POSTGRES_USER=postgres
|
||
|
- POSTGRES_PASSWORD=toDEzbjoTLBCugi9MrDMq9hYAtVEPCLwcDeUJ6ofvqEWqmNEm7YvjNBHnKa
|
||
|
- NEXTCLOUD_ADMIN_USER=admin
|
||
|
- NEXTCLOUD_ADMIN_PASSWORD=toDEzbjoTLBCugi9MrDMq9hYAtVEPCLwcDeUJ6ofvqEWqmNEm7YvjNBHnKa
|
||
|
depends_on:
|
||
|
- db
|
||
|
|
||
|
nextcloud2:
|
||
|
image: nextcloud:20-fpm-alpine
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- /data/educloud.jean-cloud.net/app2:/var/www/html
|
||
|
environment:
|
||
|
- POSTGRES_HOST=db
|
||
|
- POSTGRES_DB=nextcloud2
|
||
|
- POSTGRES_USER=postgres
|
||
|
- POSTGRES_PASSWORD=toDEzbjoTLBCugi9MrDMq9hYAtVEPCLwcDeUJ6ofvqEWqmNEm7YvjNBHnKa
|
||
|
- NEXTCLOUD_ADMIN_USER=admin
|
||
|
- NEXTCLOUD_ADMIN_PASSWORD=toDEzbjoTLBCugi9MrDMq9hYAtVEPCLwcDeUJ6ofvqEWqmNEm7YvjNBHnKa
|
||
|
depends_on:
|
||
|
- db
|