Skip to content

Commit

Permalink
Add initial data creation (#239)
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Richter <adrian@intevation.de>
  • Loading branch information
jsangmeister and peb-adr authored Apr 23, 2024
1 parent 294dc8c commit 69baab3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/config/default-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ services:
datastoreReader:
environment:
NUM_WORKERS: 8
backendManage:
environment:
OPENSLIDES_BACKEND_CREATE_INITIAL_DATA: 1
manage:
environment:
ACTION_HOST: backendManage
Expand Down
1 change: 1 addition & 0 deletions pkg/config/default-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ services:
- auth_cookie_key
- internal_auth_password
- postgres_password
- superadmin
{{- with .AdditionalContent }}{{ marshalContent 4 . }}{{- end }}
{{- end }}

Expand Down
2 changes: 2 additions & 0 deletions pkg/setup/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ services:
- postgres
environment:
<< : *default-environment
OPENSLIDES_BACKEND_CREATE_INITIAL_DATA: "1"
OPENSLIDES_BACKEND_COMPONENT: action
networks:
- data
Expand All @@ -613,6 +614,7 @@ services:
- auth_cookie_key
- internal_auth_password
- postgres_password
- superadmin
datastoreReader:
image: ghcr.io/openslides/openslides/openslides-datastore-reader:latest
Expand Down

0 comments on commit 69baab3

Please sign in to comment.