Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/development/postgraphile/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
target: /run/environment-variables/POSTGRAPHILE_OWNER_CONNECTION
volumes:
- ../../../../postgraphile/:/srv/app/ # dargstack:dev-only
- ./configurations/jwtRS256.key.pub:/run/environment-variables/POSTGRAPHILE_JWT_PUBLIC_KEY:ro
- ./configurations/jwtES256.key.pub:/run/environment-variables/POSTGRAPHILE_JWT_PUBLIC_KEY:ro
- pnpm-data:/srv/.pnpm-store/ # dargstack:dev-only
- postgraphile-data:/srv/app/node_modules # dargstack:dev-only
volumes:
Expand All @@ -60,6 +60,7 @@ x-dargstack:
template: postgres://{{secret:postgres-role-service-postgraphile-username}}:{{secret:postgres-role-service-postgraphile-password}}@postgres:5432/{{secret:postgres-db}}
postgraphile-jwt-secret:
type: private_key
key_type: ecdsa
postgraphile-owner-connection:
type: template
template: postgres://{{secret:postgres-user}}:{{secret:postgres-password}}@postgres:5432/{{secret:postgres-db}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgIYyEMm+hZzEnXhJLGUx9lwr3cKs
W2uJ+zLvei380CrUEPARnWQNR/V0usS0EFypTQllniuCpbLG6un87kxh6w==
-----END PUBLIC KEY-----
14 changes: 0 additions & 14 deletions src/development/postgraphile/configurations/jwtRS256.key.pub

This file was deleted.

2 changes: 1 addition & 1 deletion src/development/reccoom/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- reccoom-openai-api-key
volumes:
- ../../../../reccoom/:/srv/app/ # dargstack:dev-only
- ../postgraphile/configurations/jwtRS256.key.pub:/run/configurations/jwtRS256.key.pub:ro
- ../postgraphile/configurations/jwtES256.key.pub:/run/configurations/jwtES256.key.pub:ro
reccoom_postgres:
# You can access reccoom's database via `adminer`.
deploy:
Expand Down
2 changes: 1 addition & 1 deletion src/development/vibetype/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ services:
- ../../../artifacts/certificates/:/srv/certificates/ # dargstack:dev-only
- ../../../../vibetype/:/srv/app/ # dargstack:dev-only
- vibetype-data:/srv/app/node_modules # dargstack:dev-only
- ../postgraphile/configurations/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
- ../postgraphile/configurations/jwtES256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
volumes:
vibetype-data:
# The frontend's data.
Expand Down
2 changes: 1 addition & 1 deletion src/production/vibetype/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ services:
# - source: postgres-role-service-vibetype-username
# target: /run/environment-variables/PGUSER
# volumes:
# - ./configurations/postgraphile/jwtRS256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
# - ./configurations/postgraphile/jwtES256.key.pub:/run/environment-variables/NUXT_PUBLIC_VIO_AUTH_JWT_PUBLIC_KEY:ro
volumes:
vibetype_data: (( prune ))
Loading