envole/docker/docker-compose.yml

170 lines
4.3 KiB
YAML

version: '3'
services:
mariadb:
image: docker.io/library/mariadb
container_name: envole-mariadb
restart: always
healthcheck:
test: /envole/check.sh
interval: 1s
timeout: 60s
env_file: ./tmp/.env.mariadb
networks:
- envole-network
ports:
- "3306:3306"
volumes:
- ./volume/mariadb/mysql:/var/lib/mysql
- ./volume/mariadb/envole:/envole
openldap:
image: docker.io/bitnami/openldap:2
container_name: envole-openldap
restart: always
healthcheck:
test: /envole/check.sh
interval: 1s
timeout: 60s
env_file: ./tmp/.env.openldap
networks:
- envole-network
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: docker.io/jboss/keycloak
container_name: envole-keycloak
restart: always
#entrypoint: /bin/bash # Spécifiez le point d'entrée souhaité (dans cet exemple, /bin/bash)
#command:
#tty: true
#stdin_open: true
healthcheck:
test: curl --fail http://127.0.0.1:9990 || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.keycloak
networks:
- envole-network
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/ninegate || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.ninegate
networks:
- envole-network
ports:
- "9000:80"
volumes:
- ./volume/ninegate/data/private:/app/uploads
- ./volume/ninegate/data/public:/app/public/uploads
nextcloud:
image: reg.cadoles.com/envole/nextcloud
container_name: envole-nextcloud
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nextcloud
networks:
- envole-network
ports:
- 9001: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
nineboard:
image: reg.cadoles.com/envole/nineboard
container_name: envole-nineboard
restart: always
healthcheck:
test: curl --fail http://localhost/nineboard || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nineboard
networks:
- envole-network
ports:
- "9002:80"
volumes:
- ./volume/nineboard/data/private:/app/uploads
- ./volume/nineboard/data/public:/app/public/uploads
wordpress:
image: wordpress
container_name: envole-wordpress
restart: always
healthcheck:
test: curl --fail http://localhost/wordpress || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.wordpress
networks:
- envole-network
ports:
- "9003:80"
volumes:
- ./volume/wordpress/data:/var/www/html
adminer:
image: docker.io/library/adminer
container_name: envole-adminer
restart: always
env_file: ./tmp/.env.adminer
networks:
- envole-network
ports:
- 9100:8080
phpldapadmin:
image: docker.io/osixia/phpldapadmin:latest
container_name: envole-phpldapadmin
restart: always
env_file: ./tmp/.env.phpldapadmin
networks:
- envole-network
ports:
- "9101:80"
nineapache:
image: reg.cadoles.com/envole/nineapache:7.4
container_name: envole-nineapache
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nineapache
networks:
- envole-network
ports:
- "9102:80"
networks:
envole-network:
name: envole-network