File tree 2 files changed +17
-9
lines changed
docker/setup_configuration
2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 6
6
run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - name : Download docker-compose file
10
- # todo replace branch name with master after the change is merge
11
- run : wget https://raw.githubusercontent.com/maykinmedia/objects-api/deps/oaf-0.8.0/docker-compose.yml
9
+ - uses : actions/checkout@v4
12
10
- name : Start docker containers
13
- run : docker compose up -d --no-build
11
+ run : docker compose up -d --build
12
+ - name : Wait for migrations to finish
13
+ run : |
14
+ echo "Waiting for migrations to complete..."
15
+ until ! docker compose exec -T web src/manage.py showmigrations | grep -q '\[ \]'; do
16
+ echo "Migrations not finished, waiting..."
17
+ sleep 3
18
+ done
19
+ - name : Show web-init logs
20
+ run : docker compose logs web-init
14
21
- name : Load fixtures
15
22
run : docker compose exec -T web src/manage.py loaddata demodata
16
23
- name : Create superuser
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ sites_config:
4
4
- domain : example.com
5
5
name : Example site
6
6
7
-
7
+
8
8
zgw_consumers_config_enable : true
9
9
zgw_consumers :
10
10
services :
@@ -58,17 +58,18 @@ tokenauth:
58
58
application : Application 1
59
59
administration : Administration 1
60
60
permissions :
61
- - object_type : b427ef84-189d-43aa-9efd-7bb2c459e281
62
- mode : read_and_write
63
61
- object_type : b0e8553f-8b1a-4d55-ab90-6d02f1bcf2c2
64
62
mode : read_only
65
63
use_fields : true
66
64
fields :
67
65
' 1 ' :
68
66
- record__data__leeftijd
69
67
- record__data__kiemjaar
70
-
71
-
68
+ # additional permissions can be added like this:
69
+ # - object_type: b427ef84-189d-43aa-9efd-7bb2c459e281
70
+ # mode: read_and_write
71
+
72
+
72
73
oidc_db_config_enable : true
73
74
oidc_db_config_admin_auth :
74
75
items :
You can’t perform that action at this time.
0 commit comments