EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 5ecfe3cc authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

add services running / node type internal/external to ops ymls

parent 70ea5696
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,9 @@ services:
resources:
limits:
memory: 8G
placement:
constraints:
- node.labels.type == external
networks:
- extnet
cache:
......@@ -81,12 +84,19 @@ services:
resources:
limits:
memory: 8G
placement:
constraints:
- node.labels.type == external
networks:
- extnet
registrar:
environment:
INSTALL_DIR: "/var/www/pvs/ops/"
INSTANCE_DIR: "/var/www/pvs/ops/pvs_instance/"
deploy:
placement:
constraints:
- node.labels.type == internal
client:
configs:
- source: client-ops
......@@ -109,6 +119,9 @@ services:
- "traefik.docker.network=dem-extnet"
- "traefik.docker.lbswarm=true"
- "traefik.enable=true"
placement:
constraints:
- node.labels.type == external
networks:
- extnet
preprocessor:
......@@ -116,6 +129,10 @@ services:
- type: bind
source: /var/vhr
target: /tmp
deploy:
placement:
constraints:
- node.labels.type == internal
networks:
extnet:
name: dem-extnet
......
......@@ -42,6 +42,9 @@ services:
resources:
limits:
memory: 8G
placement:
constraints:
- node.labels.type == external
networks:
- extnet
cache:
......@@ -81,12 +84,19 @@ services:
resources:
limits:
memory: 8G
placement:
constraints:
- node.labels.type == external
networks:
- extnet
registrar:
environment:
INSTALL_DIR: "/var/www/pvs/ops/"
INSTANCE_DIR: "/var/www/pvs/ops/pvs_instance/"
deploy:
placement:
constraints:
- node.labels.type == internal
client:
configs:
- source: client-ops
......@@ -109,6 +119,9 @@ services:
- "traefik.docker.network=emg-extnet"
- "traefik.docker.lbswarm=true"
- "traefik.enable=true"
placement:
constraints:
- node.labels.type == external
networks:
- extnet
preprocessor:
......@@ -116,6 +129,10 @@ services:
- type: bind
source: /var/vhr
target: /tmp
deploy:
placement:
constraints:
- node.labels.type == internal
networks:
extnet:
name: emg-extnet
......
......@@ -42,6 +42,9 @@ services:
resources:
limits:
memory: 8G
placement:
constraints:
- node.labels.type == external
networks:
- extnet
cache:
......@@ -81,16 +84,27 @@ services:
limits:
memory: 8G
replicas: 3
placement:
constraints:
- node.labels.type == external
networks:
- extnet
registrar:
environment:
INSTALL_DIR: "/var/www/pvs/ops/"
INSTANCE_DIR: "/var/www/pvs/ops/pvs_instance/"
deploy:
placement:
constraints:
- node.labels.type == internal
client:
configs:
- source: client-ops
target: /usr/share/nginx/html/index.html
deploy:
placement:
constraints:
- node.labels.type == external
deploy:
labels:
# router for basic auth based access (https)
......@@ -116,6 +130,10 @@ services:
- type: bind
source: /var/vhr
target: /tmp
deploy:
placement:
constraints:
- node.labels.type == internal
networks:
extnet:
name: vhr18-extnet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment