-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #279 from OpenHistoricalMap/staging
Updates for production
- Loading branch information
Showing
13 changed files
with
220 additions
and
74 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 |
---|---|---|
|
@@ -7,4 +7,6 @@ images/data/ | |
data/ | ||
images/.env | ||
images/tiler.yml | ||
values.dev.yaml | ||
values.dev.yaml | ||
secrets | ||
tegola |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: '3.8' | ||
services: | ||
tiler: | ||
image: ohm-tiler-server:v1 | ||
build: | ||
context: ../images/tiler-server | ||
dockerfile: Dockerfile | ||
volumes: | ||
- ../data/tiler-server-data:/mnt/data | ||
- ../images/tiler-server:/app | ||
ports: | ||
- "9090:9090" | ||
env_file: | ||
- ../envs/.env.tiler.example | ||
restart: always |
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,26 +1,26 @@ | ||
version: '3.4' | ||
version: '3.8' | ||
services: | ||
db: | ||
platform: linux/amd64 | ||
image: osmseed-db:v1 | ||
build: | ||
context: ../images/db | ||
context: ./../images/db | ||
dockerfile: Dockerfile | ||
ports: | ||
- '5432:5432' | ||
volumes: | ||
- ./data/db-data:/var/lib/postgresql/data | ||
env_file: | ||
- ./.env.example | ||
- ./.env.web.example | ||
web: | ||
image: osmseed-web:v1 | ||
build: | ||
context: ./web | ||
context: ./../images/web | ||
dockerfile: Dockerfile | ||
ports: | ||
- '80:80' | ||
env_file: | ||
- ./.env.example | ||
- ./.env.web.example | ||
####### Enable for development mode | ||
# volumes: | ||
# - ./../../ohm-website:/var/www | ||
# - ./../../ohm-website:/var/www |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
####################################### | ||
# Environment variables for tiler database | ||
####################################### | ||
POSTGRES_HOST=host.docker.internal | ||
POSTGRES_DB=tiler-osm | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=1234 | ||
POSTGRES_PORT=5432 | ||
POSTGRES_DB_MAX_CONNECTIONS=200 | ||
|
||
# ####################################### | ||
# tiler-serve env variables, | ||
# ####################################### | ||
TILER_SERVER_PORT=9090 | ||
TILER_CACHE_BASEPATH=/mnt/data | ||
TILER_CACHE_MAX_ZOOM=22 | ||
TILER_CACHE_TYPE=file | ||
TILER_CACHE_TYPE=file | ||
TILER_CACHE_BUCKET=osmseed-staging | ||
TILER_CACHE_BASEPATH=tegola | ||
TILER_CACHE_REGION=us-east-1 | ||
TILER_CACHE_AWS_ACCESS_KEY_ID=... | ||
TILER_CACHE_AWS_SECRET_ACCESS_KEY=... |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
POSTGRES_DB=openstreetmap | ||
POSTGRES_PASSWORD=abcd | ||
POSTGRES_USER=postgres | ||
POSTGRES_PORT=5432 | ||
POSTGRES_HOST=host.docker.internal | ||
SERVER_URL=localhost | ||
SERVER_PROTOCOL=http |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dependencies: | ||
- name: osm-seed | ||
version: '0.1.0-n776.h230d7d8' | ||
version: '0.1.0-n775.h6785acb' | ||
repository: https://devseed.com/osm-seed-chart/ |
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