12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- version: '2'
-
- services:
- postgresql:
- build: ./postgresql
- container_name: nextcloud-postgresql
- # restart: unless-stopped
- networks:
- main:
- aliases:
- - postgresql.main.internal.docker
- volumes:
- - ./data/postgresql/data:/var/lib/postgresql/data
- ports:
- - "127.0.0.1:3580:5432"
- env_file:
- - env
-
- nextcloud:
- build: ./nextcloud
- container_name: nextcloud-nextcloud
- # restart: unless-stopped
- networks:
- main:
- aliases:
- - nextcloud.main.internal.docker
- volumes:
- - ./data/nextcloud/apps:/var/www/html/apps
- - ./data/nextcloud/config:/var/www/html/config
- - ./data/nextcloud/data:/var/www/html/data
- ports:
- - "127.0.0.1:35081:80"
- environment:
- - POSTGRES_DB=nextcloud
- env_file:
- - env
-
- collabora:
- build: ./collabora
- container_name: nextcloud-collabora
- # restart: unless-stopped
- networks:
- main:
- aliases:
- - collabora.main.internal.docker
- ports:
- - "127.0.0.1:35082:9980"
- cap_add:
- - MKNOD
- env_file:
- - env
- - env_collabora
-
- networks:
- main:
|