Skip to content
Snippets Groups Projects
Commit fd5e8398 authored by Alejandro De Maria Antolinos's avatar Alejandro De Maria Antolinos
Browse files

Change docker compose to swarmerize it

parent 5d10357f
No related branches found
Tags v0.3.1
1 merge request!12Resolve "Add the "data portal" into the project"
Pipeline #113419 passed
...@@ -9,7 +9,7 @@ services: ...@@ -9,7 +9,7 @@ services:
environment: environment:
- NODE_ENV=dev - NODE_ENV=dev
cryoet: cryoet:
container_name: cryoet container_name: dataportal-cryoet
ports: ports:
- 3002:80 - 3002:80
build: build:
...@@ -20,7 +20,7 @@ services: ...@@ -20,7 +20,7 @@ services:
environment: environment:
- NODE_ENV=dev - NODE_ENV=dev
logistics: logistics:
container_name: logistics container_name: dataportal-logistics
ports: ports:
- 3001:80 - 3001:80
build: build:
...@@ -31,7 +31,7 @@ services: ...@@ -31,7 +31,7 @@ services:
environment: environment:
- NODE_ENV=dev - NODE_ENV=dev
portal: portal:
container_name: portal container_name: dataportal2
ports: ports:
- 3000:80 - 3000:80
build: build:
......
server { server {
listen 0.0.0.0:80; listen 0.0.0.0:80;
server_name cryoet.*; server_name dataportal-cryoet.*;
location / { location / {
proxy_pass http://cryoet:80/; proxy_pass http://cryoet:80/;
...@@ -22,6 +22,6 @@ server { ...@@ -22,6 +22,6 @@ server {
server_name ~^.*$; server_name ~^.*$;
location / { location / {
return 404; proxy_pass http://dataportal2:80/;
} }
} }
\ No newline at end of file
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