Commit 5778e525 authored by José Gato Luis's avatar José Gato Luis
Browse files

fix doker images in prod

parent 060f7e8f
Pipeline #2646 passed with stages
in 1 minute and 3 seconds
......@@ -2,28 +2,50 @@ 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.scheduler.affinity:host_label: deviceid=AEON-PROD3
io.rancher.container.pull_image: always
Proxy:
image: rancher/lb-service-haproxy:v0.7.5
ports:
- 3000:3000/tcp
- 8000:8000/tcp
- 7789:7789/tcp
- 443:443/tcp
- 8080:8080/tcp
depends_on:
- "API"
- "Dashboard"
- "Events-Manager"
labels:
io.rancher.scheduler.affinity:host_label: deviceID=Rancher-host4
io.rancher.scheduler.affinity:host_label: deviceID=AEON-PROD1
io.rancher.container.agent.role: environmentAdmin
io.rancher.container.create_agent: 'true'
IDM:
image: jboss/keycloak
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
PROXY_ADDRESS_FORWARDING: 'true'
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=AEON-PROD1
Mongo:
image: jgato/aeon-mongo:3.2.14
stdin_open: true
......@@ -33,8 +55,8 @@ services:
tty: true
user: nobody
labels:
io.rancher.scheduler.affinity:host_label: deviceid=AEON-PROD1
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=Rancher-host4
Rabbit:
image: jgato/aeon-rabbitmq:3.6.6-management-alpine
hostname: localhost
......@@ -47,8 +69,8 @@ services:
- 15672:15672/tcp
user: nobody
labels:
io.rancher.scheduler.affinity:host_label: deviceid=AEON-PROD2
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: deviceid=Rancher-host4
Dashboard:
image: jgato/aeon-dashboard:0.3.0-alpine
stdin_open: true
......@@ -68,13 +90,15 @@ services:
- AEON-Config-Volume:/etc/aeon/config/:ro
tty: true
links:
- Mongo:MONGO
- Rabbit:RABBIT
- Mongo:MONGO
- SMTP:SMTP
command:
- start
depends_on:
- "mongo"
- "rabbit"
- "Mongo"
- "Rabbit"
- "SMTP"
labels:
io.rancher.container.pull_image: always
Events-Manager:
......@@ -84,12 +108,13 @@ services:
- AEON-Config-Volume:/etc/aeon/config/:ro
tty: true
links:
- Mongo:MONGO
- Rabbit:RABBIT
- Mongo:MONGO
command:
- start
depends_on:
- "mongo"
- "rabbit"
- "Mongo"
- "Rabbit"
labels:
io.rancher.container.pull_image: always
version: '2'
services:
SMTP:
scale: 1
start_on_create: true
Proxy:
scale: 1
start_on_create: true
......@@ -7,26 +10,38 @@ services:
certs: []
default_cert: '*.atosresearch.eu'
port_rules:
- hostname: aeon-dev.atosresearch.eu
path: ''
- hostname: aeon.atosresearch.eu
priority: 1
protocol: https
service: API
source_port: 3000
target_port: 3000
- hostname: aeon-dev.atosresearch.eu
- hostname: aeon.atosresearch.eu
priority: 2
protocol: https
service: Dashboard
source_port: 8000
target_port: 8000
- hostname: aeon-dev.atosresearch.eu
path: ''
- hostname: aeon.atosresearch.eu
priority: 3
protocol: https
service: Events-Manager
source_port: 7789
target_port: 7789
- hostname: aeon.atosresearch.eu
path: ''
priority: 4
protocol: https
service: Dashboard
source_port: 443
target_port: 8000
- hostname: aeon.atosresearch.eu
path: ''
priority: 7
protocol: https
service: IDM
source_port: 8080
target_port: 8080
health_check:
healthy_threshold: 2
response_timeout: 2000
......@@ -34,7 +49,11 @@ services:
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 2000
strategy: recreate
reinitializing_timeout: 60000
IDM:
scale: 1
start_on_create: true
Mongo:
scale: 1
start_on_create: true
......@@ -45,8 +64,10 @@ services:
scale: 3
start_on_create: true
API:
scale: 3
scale: 1
start_on_create: true
Events-Manager:
scale: 1
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