ninedocker/docker-compose.yml

200 lines
4.7 KiB
YAML

version: '3'
services:
nineapache:
image: reg.cadoles.com/envole/nineapache:8.1
container_name: nine-nineapache
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nineapache
networks:
- nine-network
ports:
- "80:80"
volumes:
- ./volume/nineapache/nine/apache.conf:/etc/apache2/conf.d/zapp.conf
mariadb:
image: docker.io/library/mariadb
container_name: nine-mariadb
restart: always
healthcheck:
test: /nine/check.sh
interval: 1s
timeout: 60s
env_file: ./tmp/.env.mariadb
networks:
- nine-network
ports:
- "3306:3306"
volumes:
- ./volume/mariadb/mysql:/var/lib/mysql
- ./volume/mariadb/nine:/nine
redis:
image: redis:4.0
container_name: nine-redis
ports:
- 6379:6379
environment:
- TZ=Europe/Paris
minio:
image: minio/minio
container_name: nine-minio
restart: always
env_file: ./tmp/.env.minio
networks:
- nine-network
ports:
- '7200:9000'
- '7201:9001'
volumes:
- './volume/minio/data:/data'
command: server /data --console-address ":9001"
openldap:
image: docker.io/bitnami/openldap:2
container_name: nine-openldap
restart: always
healthcheck:
test: /nine/check.sh
interval: 1s
timeout: 60s
env_file: ./tmp/.env.openldap
networks:
- nine-network
ports:
- '1389:1389'
- '1636:1636'
#entrypoint: /nine/debug/debug.sh
#command: sleep 1d
volumes:
- './volume/openldap/data:/bitnami/openldap'
- './volume/openldap/nine:/nine'
keycloak:
image: reg.cadoles.com/envole/keycloak:24.0.5
container_name: nine-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:
- nine-network
ports:
- 8999:8999
- 8443:8443
volumes:
- './volume/keycloak/nine:/nine'
command:
- start-dev
- --import-realm
ninegate:
image: reg.cadoles.com/envole/ninegate
container_name: nine-ninegate
restart: always
healthcheck:
test: curl --fail http://localhost/ninegate || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.ninegate
networks:
- nine-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: nine-nextcloud
restart: always
healthcheck:
test: curl --fail http://localhost || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nextcloud
networks:
- nine-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/nine:/nine
- ./volume/nextcloud/prestart:/docker-entrypoint-hooks.d/before-starting
nineboard:
image: reg.cadoles.com/envole/nineboard
container_name: nine-nineboard
restart: always
healthcheck:
test: curl --fail http://localhost/nineboard || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.nineboard
networks:
- nine-network
ports:
- "9002:80"
volumes:
- ./volume/nineboard/data/private:/app/uploads
- ./volume/nineboard/data/public:/app/public/uploads
wordpress:
image: reg.cadoles.com/envole/wordpress
container_name: nine-wordpress
restart: always
healthcheck:
test: curl --fail http://localhost/wordpress || exit 1
interval: 1s
timeout: 60s
env_file: ./tmp/.env.wordpress
networks:
nine-network:
aliases:
- blog
ports:
- "9003:80"
volumes:
- ./volume/wordpress/data:/app/public/wp-content
adminer:
image: docker.io/library/adminer
container_name: nine-adminer
restart: always
env_file: ./tmp/.env.adminer
networks:
- nine-network
ports:
- 9100:8080
phpldapadmin:
image: docker.io/osixia/phpldapadmin:latest
container_name: nine-phpldapadmin
restart: always
env_file: ./tmp/.env.phpldapadmin
networks:
- nine-network
ports:
- "9101:80"
networks:
nine-network:
name: nine-network