You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
177 lines
3.9 KiB
YAML
177 lines
3.9 KiB
YAML
version: "2.1"
|
|
networks:
|
|
internal_network:
|
|
services:
|
|
db:
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
image: git.abderr.ovh/abderr/ambar-mongodb:2.1
|
|
environment:
|
|
- cacheSizeGB=4
|
|
volumes:
|
|
- /home/abderr/ambar/data/db:/data/db
|
|
expose:
|
|
- "27017"
|
|
es:
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
image: land007/ambar-es:latest
|
|
expose:
|
|
- "9200"
|
|
environment:
|
|
- cluster.name=ambar-es
|
|
- ES_JAVA_OPTS=-Xms6g -Xmx6g
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
cap_add:
|
|
- IPC_LOCK
|
|
volumes:
|
|
- /home/abderr/ambar/data/es:/usr/share/elasticsearch/data
|
|
rabbit:
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
image: git.abderr.ovh/abderr/ambar-rabbit:2.1
|
|
hostname: rabbit
|
|
expose:
|
|
- "15672"
|
|
- "5672"
|
|
volumes:
|
|
- /home/abderr/ambar/data/rabbit:/var/lib/rabbitmq
|
|
redis:
|
|
restart: always
|
|
sysctls:
|
|
- net.core.somaxconn=1024
|
|
networks:
|
|
- internal_network
|
|
image: git.abderr.ovh/abderr/ambar-redis:2.1
|
|
expose:
|
|
- "6379"
|
|
serviceapi:
|
|
depends_on:
|
|
redis:
|
|
condition: service_healthy
|
|
rabbit:
|
|
condition: service_healthy
|
|
es:
|
|
condition: service_healthy
|
|
db:
|
|
condition: service_healthy
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
image: git.abderr.ovh/abderr/ambar-serviceapi:2.1
|
|
expose:
|
|
- "8081"
|
|
environment:
|
|
- mongoDbUrl=mongodb://db:27017/ambar_data
|
|
- elasticSearchUrl=http://es:9200
|
|
- redisHost=redis
|
|
- redisPort=6379
|
|
- rabbitHost=amqp://rabbit
|
|
- langAnalyzer=ambar_it
|
|
- SLAO_HOSTNAME=ambar
|
|
- SLAO_API_KEY=
|
|
webapi:
|
|
depends_on:
|
|
serviceapi:
|
|
condition: service_healthy
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
image: git.abderr.ovh/abderr/ambar-webapi:2.1
|
|
expose:
|
|
- "8080"
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- uiLang=en
|
|
- mongoDbUrl=mongodb://db:27017/ambar_data
|
|
- elasticSearchUrl=http://es:9200
|
|
- redisHost=redis
|
|
- redisPort=6379
|
|
- serviceApiUrl=http://serviceapi:8081
|
|
- rabbitHost=amqp://rabbit
|
|
- SLAO_HOSTNAME=ambar
|
|
- SLAO_API_KEY=
|
|
frontend:
|
|
depends_on:
|
|
webapi:
|
|
condition: service_healthy
|
|
image: git.abderr.ovh/abderr/ambar-frontend:2.1
|
|
restart: always
|
|
networks:
|
|
- internal_network
|
|
ports:
|
|
- "8058:80"
|
|
expose:
|
|
- "80"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- api=http://192.168.1.10:8080
|
|
- PORT=80
|
|
pipeline0:
|
|
depends_on:
|
|
serviceapi:
|
|
condition: service_healthy
|
|
image: git.abderr.ovh/abderr/ambar-pipeline:2.1
|
|
restart: always
|
|
user: 99:100
|
|
networks:
|
|
- internal_network
|
|
environment:
|
|
- id=0
|
|
- api_url=http://serviceapi:8081
|
|
- rabbit_host=amqp://rabbit
|
|
sgn_perso:
|
|
depends_on:
|
|
serviceapi:
|
|
condition: service_healthy
|
|
image: git.abderr.ovh/abderr/ambar-local-crawler:2.2
|
|
restart: always
|
|
user: 0:100
|
|
networks:
|
|
- internal_network
|
|
expose:
|
|
- "8082"
|
|
environment:
|
|
- name=sgn_Perso
|
|
volumes:
|
|
- /mnt/user/Backup/SGN/03_Doc-Perso:/usr/data
|
|
sgn_Pro:
|
|
depends_on:
|
|
serviceapi:
|
|
condition: service_healthy
|
|
image: git.abderr.ovh/abderr/ambar-local-crawler:2.2
|
|
restart: always
|
|
user: 0:100
|
|
networks:
|
|
- internal_network
|
|
expose:
|
|
- "8082"
|
|
environment:
|
|
- name=SGN_pro
|
|
volumes:
|
|
- /mnt/user/Backup/SGN/02_Doc-Pro:/usr/data
|
|
sgn_Pro_mail:
|
|
depends_on:
|
|
serviceapi:
|
|
condition: service_healthy
|
|
image: git.abderr.ovh/abderr/ambar-local-crawler:2.2
|
|
restart: always
|
|
user: 0:100
|
|
networks:
|
|
- internal_network
|
|
expose:
|
|
- "8082"
|
|
environment:
|
|
- name=SGN_pro_mail
|
|
volumes:
|
|
- /mnt/user/Backup/SGN/05_Mail-Pro:/usr/data |