jean-cloud-services/old_services/educloud.jean-cloud.net/docker-compose.yml
2024-01-02 17:50:14 +01:00

41 lines
1.3 KiB
YAML
Executable File

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