-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86eb876
commit 421b208
Showing
9 changed files
with
55 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,8 @@ DATABASE_USER=zaken | |
DATABASE_PASSWORD=insecure | ||
DATABASE_HOST=database | ||
DATABASE_PORT=5432 | ||
SENTRY_DSN=https://[email protected]/0 | ||
LOCAL_DEVELOPMENT_AUTHENTICATION=False | ||
LOGGING_LEVEL=WARNING # To prevent flooding the logging in local development. Default is DEBUG. | ||
LOCAL_DEVELOPMENT_AUTHENTICATION=True | ||
LOGGING_LEVEL=WARNING # To prevent flooding the logging in local development. Default is DEBUG. WARNING | ||
SECRET_KEY_TOP_ZAKEN=SECRET_KEY_TOP_ZAKEN | ||
SECRET_KEY_TON_ZAKEN=SECRET_KEY_TON_ZAKEN | ||
BELASTING_API_URL=https://api-acc.belastingen.centric.eu/bel/inn/afne/vora/v1/vorderingenidentificatienummer/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM amsterdam/python:3.9-buster | ||
LABEL maintainer="[email protected]" | ||
FROM python:3.10-bullseye | ||
|
||
ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt | ||
|
||
|
@@ -10,11 +9,16 @@ RUN chmod 644 /usr/local/share/ca-certificates/adp_rootca.crt \ | |
|
||
ENV PYTHONUNBUFFERED 1 | ||
|
||
RUN apt-get update && apt-get install -y | ||
# Update and install necessary packages including GDAL | ||
RUN apt-get update && apt-get install -y \ | ||
gdal-bin \ | ||
libgdal-dev \ | ||
graphviz \ | ||
graphviz-dev \ | ||
postgresql-client | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install uwsgi | ||
|
||
RUN apt-get install graphviz graphviz-dev -y | ||
RUN pip install pygraphviz | ||
|
||
RUN echo "10.240.5.72 acc.api.data.amsterdam.nl" >> /etc/hosts || echo "Could not write to /etc/hosts" | ||
|
@@ -30,6 +34,8 @@ RUN chmod +x /app/wait-for.sh | |
RUN chmod +x /app/celery.sh | ||
RUN chmod +x /app/deploy/docker-entrypoint.sh | ||
|
||
# Set the GDAL_LIBRARY_PATH environment variable | ||
ENV GDAL_LIBRARY_PATH /usr/lib/libgdal.so | ||
|
||
ENTRYPOINT ["/app/deploy/docker-entrypoint.sh"] | ||
CMD ["uwsgi", "--ini", "/app/deploy/config.ini"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters