Initial commit: CloudOps infrastructure platform
This commit is contained in:
31
docker-compose/nextcloud-setup/docker-compose.yml
Normal file
31
docker-compose/nextcloud-setup/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nextcloud-db:
|
||||
image: postgres:15
|
||||
container_name: nextcloud-postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: nextcloud123
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_USER: nextcloud
|
||||
volumes:
|
||||
- nextcloud-db-data:/var/lib/postgresql/data
|
||||
|
||||
nextcloud:
|
||||
image: nextcloud:latest
|
||||
container_name: nextcloud-app
|
||||
depends_on:
|
||||
- nextcloud-db
|
||||
ports:
|
||||
- "8082:80" # Different port than Odoo (8069) and ERPNext (8080)
|
||||
environment:
|
||||
POSTGRES_HOST: nextcloud-db
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_USER: nextcloud
|
||||
POSTGRES_PASSWORD: nextcloud123
|
||||
volumes:
|
||||
- nextcloud-data:/var/www/html
|
||||
|
||||
volumes:
|
||||
nextcloud-db-data:
|
||||
nextcloud-data:
|
||||
Reference in New Issue
Block a user