Commit 0851ffbb authored by José Gato Luis's avatar José Gato Luis
Browse files

updated composer

parent 517d665d
Pipeline #1997 passed with stages
in 2 minutes and 55 seconds
......@@ -2,20 +2,30 @@ version: '2'
volumes:
MONGO-Storage:
external: true
driver: rancher-nfs
driver: 'rancher-nfs'
AEON-Config-Volume:
external: true
driver: 'null'
driver: 'rancher-nfs'
RABBIT-Storage:
external: true
driver: rancher-nfs
driver: 'rancher-nfs'
services:
SMTP:
image: namshi/smtp
environment:
MAILNAME: atosresearch.eu
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=rancher-host4
Proxy:
image: rancher/lb-service-haproxy:v0.7.5
ports:
- 3000:3000/tcp
- 8000:8000/tcp
- 7789:7789/tcp
- 443:443/tcp
depends_on:
- "API"
- "Dashboard"
......@@ -33,8 +43,8 @@ services:
tty: true
user: nobody
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=Rancher-host4
io.rancher.container.pull_image: always
Rabbit:
image: jgato/aeon-rabbitmq:3.6.6-management-alpine
hostname: localhost
......@@ -47,8 +57,8 @@ services:
- 15672:15672/tcp
user: nobody
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=Rancher-host4
io.rancher.container.pull_image: always
Dashboard:
image: jgato/aeon-dashboard:0.3.0-dev-alpine
stdin_open: true
......@@ -61,8 +71,8 @@ services:
- "API"
labels:
io.rancher.container.pull_image: always
API:
image: jgato/aeon-api:0.3.0-dev-alpine
Events-Manager:
image: jgato/aeon-events-manager:0.3.0-dev-alpine
stdin_open: true
volumes:
- AEON-Config-Volume:/etc/aeon/config/:ro
......@@ -73,12 +83,12 @@ services:
command:
- start
depends_on:
- "mongo"
- "rabbit"
- "Mongo"
- "Rabbit"
labels:
io.rancher.container.pull_image: always
Events-Manager:
image: jgato/aeon-events-manager:0.3.0-dev-alpine
API:
image: jgato/aeon-api:0.3.0-dev-alpine
stdin_open: true
volumes:
- AEON-Config-Volume:/etc/aeon/config/:ro
......@@ -86,10 +96,12 @@ services:
links:
- Mongo:MONGO
- Rabbit:RABBIT
- SMTP:SMTP
command:
- start
depends_on:
- "mongo"
- "rabbit"
- "Mongo"
- "Rabbit"
- "SMTP"
labels:
io.rancher.container.pull_image: always
version: '2'
services:
SMTP:
scale: 1
start_on_create: true
Proxy:
scale: 1
start_on_create: true
......@@ -8,7 +11,6 @@ services:
default_cert: '*.atosresearch.eu'
port_rules:
- hostname: aeon-dev.atosresearch.eu
path: ''
priority: 1
protocol: https
service: API
......@@ -21,12 +23,18 @@ services:
source_port: 8000
target_port: 8000
- hostname: aeon-dev.atosresearch.eu
path: ''
priority: 3
protocol: https
service: Events-Manager
source_port: 7789
target_port: 7789
- hostname: aeon-dev.atosresearch.eu
path: ''
priority: 4
protocol: https
service: Dashboard
source_port: 443
target_port: 8000
health_check:
healthy_threshold: 2
response_timeout: 2000
......@@ -34,6 +42,7 @@ services:
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 2000
strategy: recreate
reinitializing_timeout: 60000
Mongo:
scale: 1
......@@ -44,9 +53,9 @@ services:
Dashboard:
scale: 3
start_on_create: true
API:
scale: 3
start_on_create: true
Events-Manager:
scale: 1
start_on_create: true
API:
scale: 3
start_on_create: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment