mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Update GDAL, install some other Python packages, and change port for postgres
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
"containerUser": "ubuntu",
|
"containerUser": "ubuntu",
|
||||||
"shutdownAction": "stopCompose",
|
"shutdownAction": "stopCompose",
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
5432,
|
8888,
|
||||||
8888
|
5435
|
||||||
],
|
],
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.0
|
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.11.4
|
||||||
|
|
||||||
# Ubuntu is UID 1000 and GID 1000
|
# Ubuntu is UID 1000 and GID 1000
|
||||||
ARG USERNAME=ubuntu
|
ARG USERNAME=ubuntu
|
||||||
@@ -40,7 +40,7 @@ USER ${USERNAME}
|
|||||||
# Create virtual environment and install Python packages
|
# Create virtual environment and install Python packages
|
||||||
RUN uv venv ~/.venv \
|
RUN uv venv ~/.venv \
|
||||||
&& cd ~ \
|
&& cd ~ \
|
||||||
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]'
|
&& uv pip install 'geopandas[all]' duckdb psycopg2-binary jupyterlab lonboard click stats-can openpyxl ordered-set buckaroo jenkspy 'polars[all]' folium-pmtiles
|
||||||
|
|
||||||
# Bash Kernel
|
# Bash Kernel
|
||||||
RUN cd ~ \
|
RUN cd ~ \
|
||||||
|
|||||||
+2
-2
@@ -16,13 +16,13 @@ services:
|
|||||||
command: sleep infinity
|
command: sleep infinity
|
||||||
db:
|
db:
|
||||||
image: postgis/postgis:17-3.5-alpine
|
image: postgis/postgis:17-3.5-alpine
|
||||||
container_name: db
|
container_name: devcontainer_postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5435:5432
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user