File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ SMD_DBUSER=smd-user
3636SMD_DBOPTS = sslmode=disable
3737SMD_JWKS_URL = http://opaal:3333/keys
3838
39+ # Environemnt Variables
40+ TOKENSMITH_ISSUER = https://tokensmith.openchami.dev
41+ TOKENSMITH_CLUSTER_ID = demo-cluster
42+ TOKENSMITH_OPENCHAMI_ID = demo-openchami
43+ TOKENSMITH_CONFIG = /tokensmith/config.json
44+ TOKENSMITH_KEY_DIR = /tmp/tokensmith/keys
45+ TOKENSMITH_OIDC_PROVIDER = http://hydra:4444
46+ TOKENSMITH_PORT = 8080
47+
3948# Environemnt Variables
4049STEPPATH = /home/step
4150DOCKER_STEPCA_INIT_NAME = OpenCHAMI
Original file line number Diff line number Diff line change 1+ {
2+ "groupScopes" : {
3+ "admin" : [
4+ " admin" ,
5+ " write" ,
6+ " read"
7+ ],
8+ "operator" : [
9+ " write" ,
10+ " read"
11+ ],
12+ "user" : [
13+ " read"
14+ ],
15+ "viewer" : [
16+ " read"
17+ ]
18+ }
19+ }
Original file line number Diff line number Diff line change 1+ [Unit]
2+ Description =The tokensmith container
3+ Wants =hydra-gen-jwks.service
4+ After =hydra-gen-jwks.service
5+ PartOf =openchami.target
6+
7+ [Container]
8+ ContainerName =tokensmith
9+ HostName =tokensmith
10+ Image =ghcr.io/openchami/tokensmith:pr-13
11+ EnvironmentFile =/etc/openchami/configs/openchami.env
12+
13+ # Volumes
14+ Volume =/etc/openchami/tokensmith.json:/tokensmith/config.json:Z
15+
16+ # Networks for the Container to use
17+ Network =openchami-internal.network
18+ Network =openchami-jwt-internal.network
19+
20+ # Extra hosts
21+ PodmanArgs =--add-host =' demo.openchami.cluster:172.16.0.254'
22+ # Proxy settings
23+ PodmanArgs =--http-proxy =false
24+
25+ [Service]
26+ Restart =always
27+ # Run commands after container starts
28+ ExecStartPost =sleep 10s
You can’t perform that action at this time.
0 commit comments