[Scripts] Improve oodikone:ci script + add comment about nginx in ci compose

This commit is contained in:
Aaro Koivukangas
2026-07-07 17:15:15 +03:00
parent 80516dd6a8
commit df4601f0bf
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -56,7 +56,7 @@ services:
backend:
condition: service_healthy
ports:
- 3000:3000
- 5000:5000
profiles:
- oodikone
@@ -64,7 +64,6 @@ services:
<<: *defaults
container_name: oodikone-kone-db
image: registry-toska.ext.ocp-prod-0.k8s.it.helsinki.fi/kone-db
pull_policy: always
environment:
PGDATA: /data
POSTGRES_DB: kone-db
@@ -79,7 +78,6 @@ services:
<<: *defaults
container_name: oodikone-user-db
image: registry-toska.ext.ocp-prod-0.k8s.it.helsinki.fi/user-db
pull_policy: always
environment:
PGDATA: /data
POSTGRES_DB: user-db
@@ -106,7 +104,6 @@ services:
<<: *defaults
container_name: oodikone-sis-db
image: registry-toska.ext.ocp-prod-0.k8s.it.helsinki.fi/sis-db
pull_policy: always
environment:
PGDATA: /data
POSTGRES_DB: sis-db
@@ -158,6 +155,7 @@ services:
test: ['CMD', 'pg_isready', '-U', 'postgres']
<<: *healthcheck-defaults
# This is still needed to make backend calls correctly route from localhost:5000/api to localhost:8080
nginx:
container_name: oodikone-nginx
image: nginx:latest
+1 -1
View File
@@ -18,7 +18,7 @@
"oodikone": "npm run docker:down && ./run.sh oodikone anon up --detach",
"oodikone:real": "./run.sh oodikone real up --detach",
"oodikone:test": "npm run docker:down && docker compose --profile oodikone up --detach && docker compose --file docker-compose.test.yml up --detach",
"oodikone:ci": "npm run docker:down && docker compose --file docker-compose.ci.yml up",
"oodikone:ci": "npm run docker:down && docker compose --file docker-compose.ci.yml --profile oodikone up",
"updater": "./run.sh updater anon up --detach",
"updater:real": "./run.sh updater real up --detach",
"both": "./run.sh both anon up --detach",