Skip to content

Commit 75af6e1

Browse files
committed
Fix SBS deploy
1 parent c9ee16e commit 75af6e1

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

core/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ services:
173173
condition: service_healthy
174174

175175
oidcng:
176-
image: ghcr.io/openconext/openconext-oidcng/oidcng:6.1.14
176+
image: ghcr.io/openconext/openconext-oidcng/oidcng:latest
177177
networks:
178178
coreconextdev:
179179
volumes:

core/sbs/docker-compose.override.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,23 @@ services:
5151
timeout: 5s
5252
retries: 10
5353
hostname: sbs-server.docker
54+
depends_on:
55+
sbs-server-migrate:
56+
condition: service_completed_successfully
57+
profiles:
58+
- "sbs"
59+
60+
sbs-server-migrate:
61+
image: ghcr.io/surfscz/sram-sbs-server:main
62+
environment:
63+
- MIGRATIONS_ONLY=1
64+
volumes:
65+
- ./sbs/config:/opt/sbs/config
66+
- ${SBS_CODE_PATH}/server:/opt/sbs/server
67+
networks:
68+
coreconextdev:
69+
command:
70+
- "/usr/local/bin/gunicorn --worker-class eventlet --workers 1 --bind 0.0.0.0:8080 server.__main__:app"
5471
depends_on:
5572
redis:
5673
condition: service_healthy

0 commit comments

Comments
 (0)