Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

nl-portal/nl-portal-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

236 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository archived / gearchiveerd

NL Portal has moved to a single repository at https://github.com/nl-portal/nl-portal. All future development and contributions happen there. Please file all issues at https://github.com/nl-portal/nl-portal-issues. This repository is archived and remains available in read-only mode for reference.

NL Portal is verplaatst naar één repository op https://github.com/nl-portal/nl-portal. Alle toekomstige ontwikkeling en bijdragen vinden daar plaats. Meld alle issues in https://github.com/nl-portal/nl-portal-issues. Deze repository is gearchiveerd en blijft beschikbaar in alleen-lezen modus ter referentie.


nl-portal-docker-compose

Getting started

Requirements

Starting up

This repository offers two options for starting up the supporting services for NL Portal:

  • Including all ZGW related services, like Open Zaak, Open Klant, Objects API and Objecttypes API
  • Keycloak and database only

Including all ZGW related services

Execute the following command:

docker compose --profile zgw up -d

The following services will be started:

Service Mapped port
NL Portal database (postgres) 54321
Keycloak 8082
Keycloak database (postgres) -
Open Zaak 8001
Open Zaak database (postgis) -
Open Klant 8006
Open Klant database (postgis) -
Objecten API 8010
Objecten API database (postgis) -
Objecttypen API 8011
Objecttypen API database (postgres) -
Open Klant 2 8007
Open Klant database (postgres) -
Open Product 8070
Open Product database (postgres) -
Redis -

Keycloak and database only

Execute the following command:

docker compose up -d
Service Mapped port
NL Portal database (postgres) 54321
Keycloak 8082
Keycloak database (postgres) -

Maintenance

Updating Openzaak data

There is a script ./imports/open-zaak/resync/resync.sh that will automatically create an import script for several tables of OpenZaak. It requires that you install the postgres CLI tool pg_dump found in the postgres CLI tools.

You should only run this script if you have recently upgraded OpenZaak or added new data in OpenZaak you want to make available after clearing the database.

Known issues

  • Running on Windows
    If the services within this compose file fail to start up with the following error or similar:
    2025-11-18 11:15:41.901 | /app/init/init.sh: 2: 
    2025-11-18 11:15:41.902 | Apply database migrations
    2025-11-18 11:15:59.325 | Unknown command: 'migrate\r'. Did you mean migrate?
    2025-11-18 11:15:59.325 | Type 'manage.py help' for usage.
    2025-11-18 11:16:04.229 | Traceback (most recent call last):
    2025-11-18 11:16:04.229 |   File "/usr/local/lib/python3.12/site-packages/django/db/backends/base/base.py", line 279, in ensure_connection
    2025-11-18 11:16:04.235 |     self.connect()
    2025-11-18 11:16:04.235 |   File "/usr/local/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    2025-11-18 11:16:04.237 |     return func(*args, **kwargs)
    2025-11-18 11:16:04.237 |            ^^^^^^^^^^^^^^^^^^^^^
    2025-11-18 11:16:04.237 |   File "/usr/local/lib/python3.12/site-packages/django/db/backends/base/base.py", line 256, in connect
    2025-11-18 11:16:04.237 |     self.connection = self.get_new_connection(conn_params)
    2025-11-18 11:16:04.237 |                       
    
    Then that means either your editor or git is replacing linux line endings with windows compatible crlf line endings. To work with this repository you need to make sure that doesn't happen:

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages