Skip to content

Commit

Permalink
Add userlifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Apr 8, 2024
1 parent e3dfe06 commit 10ecc79
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/dbschema/createdbs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CREATE DATABASE IF NOT EXISTS aa;
CREATE DATABASE IF NOT EXISTS pdp;
CREATE DATABASE IF NOT EXISTS spdashboard;
CREATE DATABASE IF NOT EXISTS invite;
CREATE DATABASE IF NOT EXISTS userlifecycle;

CREATE USER IF NOT EXISTS 'ebrw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON eb.* TO 'ebrw'@'%';
Expand All @@ -22,3 +23,7 @@ GRANT ALL PRIVILEGES ON spdashboard.* TO 'spdrw'@'%';

CREATE USER IF NOT EXISTS 'inviterw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON invite.* TO 'inviterw'@'%';

CREATE USER IF NOT EXISTS 'userlifecyclerw'@'%' IDENTIFIED BY 'secret';
GRANT ALL PRIVILEGES ON userlifecycle.* TO 'userlifecyclerw'@'%';

18 changes: 18 additions & 0 deletions core/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- engine.dev.openconext.local
- engine-api.dev.openconext.local
- profile.dev.openconext.local
- userlifecycle.dev.openconext.local
- manage.dev.openconext.local
- connect.dev.openconext.local
- voot.dev.openconext.local
Expand Down Expand Up @@ -299,6 +300,23 @@ services:
profiles:
- "extras"

userlifecycle:
image: ghcr.io/openconext/openconext-user-lifecycle/user-lifecycle:feature-docker_configs
environment:
APP_ENV: prod
volumes:
- ./:/config
networks:
coreconextdev:
hostname: userlifecycle.docker
depends_on:
engine:
condition: service_healthy
mariadb:
condition: service_healthy
profiles:
- "extras"

mailcatcher:
image: sj26/mailcatcher:latest
ports:
Expand Down

0 comments on commit 10ecc79

Please sign in to comment.