envole/src/envole-1.0/docker-compose.yml

102 lines
2.6 KiB
YAML

version: '3'
services:
mariadb:
image: mariadb
container_name: envole-mariadb
restart: always
healthcheck:
test: /envole/check.sh
interval: 1s
timeout: 60s
env_file: ./.env.local
ports:
- "3306:3306"
volumes:
- ./volume/mariadb/mysql:/var/lib/mysql
- ./volume/mariadb/envole:/envole
openldap:
image: bitnami/openldap:2
container_name: envole-openldap
restart: always
healthcheck:
test: /envole/check.sh
interval: 1s
timeout: 60s
env_file: ./.env.local
ports:
- '1389:1389'
- '1636:1636'
#entrypoint: /envole/debug/debug.sh
#command: sleep 1d
volumes:
- './volume/openldap/data:/bitnami/openldap'
- './volume/openldap/envole:/envole'
keycloak:
image: jboss/keycloak
container_name: envole-keycloak
restart: always
healthcheck:
test: curl --fail http://127.0.0.1:9990 || exit 1
interval: 1s
timeout: 60s
env_file: ./.env.local
ports:
- 8080:8080
- 8443:8443
volumes:
- './volume/keycloak/data/keycloak-protocol-cas-16.1.1.jar:/opt/jboss/keycloak/standalone/deployments/keycloak-protocol-cas-16.1.1.jar'
- './volume/keycloak/envole:/envole'
ninegate:
image: reg.cadoles.com/envole/ninegate
container_name: envole-ninegate
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./.env.local
ports:
- "8000:80"
volumes:
- ./env/.env.zapp.ninegate.local:/app/.env.local:delegated
- ./volume/ninegate/data/private:/app/uploads:delegated
- ./volume/ninegate/data/public:/app/public/uploads
nextcloud:
image: nextcloud
container_name: envole-nextcloud
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./.env.local
ports:
- 8001:80
volumes:
- ./volume/nextcloud/html:/var/www/html
- ./volume/nextcloud/app:/var/www/html/custom_apps
- ./volume/nextcloud/data:/var/www/html/data
- ./volume/nextcloud/envole:/envole
- ./volume/nextcloud/prestart:/docker-entrypoint-hooks.d/before-starting
adminer:
image: adminer
container_name: envole-adminer
restart: always
ports:
- 9000:8080
phpldapadmin:
image: osixia/phpldapadmin:latest
container_name: envole-phpldapadmin
restart: always
env_file: ./.env.local
ports:
- "9001:80"