diff --git a/docker-compose.yml b/docker-compose.yml index 5847bfb..ce7e51f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -102,7 +102,9 @@ services: start_period: 10s martin: - image: ghcr.io/maplibre/martin:1.4.0 + build: + context: . + dockerfile: martin.Dockerfile container_name: martin restart: unless-stopped ports: @@ -110,5 +112,3 @@ services: command: ["--config", "/config/martin.yaml"] environment: - DATABASE_URL=postgresql://architools_user:stictMyFon34!_gonY@10.10.10.166:5432/architools_db - volumes: - - ./martin.yaml:/config/martin.yaml:ro diff --git a/martin.Dockerfile b/martin.Dockerfile new file mode 100644 index 0000000..5307578 --- /dev/null +++ b/martin.Dockerfile @@ -0,0 +1,2 @@ +FROM ghcr.io/maplibre/martin:1.4.0 +COPY martin.yaml /config/martin.yaml