You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Pull the latest version: `docker pull ghcr.io/kit-data-manager/pit-service:latest`
137
-
138
-
TODO
139
-
- configuration (config mount)
140
-
- backing up (database mount)
141
-
- document available ports, etc
142
-
- ...?
137
+
- Configuration / Mount points:
138
+
- Containers are being considered "throwaway objects". To update the application, you simply stop the container and create a new one from the updated image. Therefore, you need to persist configuration and database information!
139
+
- The configuration file is located within the container at `/app/conf/application-default.properties`
140
+
- For configuration, either use environment variables (e.g. with `docker compose`) or mount a custom `application.properties` into `/app/conf/`.
141
+
- For production, you'll want to configure your own Handle prefix. The required private key is recommended to also be mounted into `/app/conf/`, so you'll likely use mount point anyway.
142
+
- For persisting a database file, consider mounting `/data/`. This also means to adjust the configuration accordingly!
143
+
- Exposed ports (inner ports of the container)
144
+
- These are the exposed ports. To not attempt to change it in the configuration, as the container does not export other ports.
145
+
-`8090`: Provides the API, as well as the Swagger documentation.
0 commit comments