-
Notifications
You must be signed in to change notification settings - Fork 4
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
cd45679
commit 17efdc3
Showing
14 changed files
with
170 additions
and
70 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 |
---|---|---|
|
@@ -3,4 +3,3 @@ POSTGRES_USER=cosmogony | |
POSTGRES_PASSWORD=cosmogony | ||
POSTGRES_HOST=postgres | ||
POSTGRES_PORT=5432 | ||
|
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,17 @@ | ||
[[source]] | ||
|
||
url = "https://pypi.python.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[requires] | ||
|
||
python_version = "3.6" | ||
|
||
[dev-packages] | ||
|
||
|
||
|
||
[packages] | ||
|
||
invoke = "*" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: "3" | ||
|
||
services: | ||
tiles: | ||
build: ./tiles | ||
image: osmwithoutborders/cosmogony-tiles | ||
|
||
api: | ||
build: ./api | ||
image: osmwithoutborders/cosmogony-api | ||
|
||
explorer: | ||
build: ./explorer | ||
image: osmwithoutborders/cosmogony-explorer | ||
|
||
importer: | ||
build: ./importer | ||
image: osmwithoutborders/cosmogony-importer |
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,18 @@ | ||
version: "3" | ||
|
||
volumes: | ||
data-dashboard: | ||
|
||
services: | ||
importer: | ||
image: osmwithoutborders/cosmogony-importer | ||
env_file: .env | ||
volumes: | ||
- ${PATH_TO_COSMOGONY_DIR:-./cosmogony_data}:/mnt/data | ||
|
||
data-dashboard: | ||
image: cosmogony-data-dashboard | ||
# image: osmwithoutborders/cosmogony-data-dashboard | ||
volumes: | ||
- ${PATH_TO_COSMOGONY_DIR:-./cosmogony_data}:/mnt/data | ||
- data-dashboard:/mnt/data-dashboard |
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,36 +1,39 @@ | ||
version: "3" | ||
|
||
volumes: | ||
pgdata: | ||
data-dashboard: | ||
|
||
services: | ||
postgres: | ||
image: "openmaptiles/postgis:2.9" | ||
volumes: | ||
- pgdata:/var/lib/postgresql/data | ||
ports: | ||
- 127.0.0.1:5432:5432 | ||
- 5432 | ||
env_file: .env | ||
cosmogony-importer: | ||
build: ./importer | ||
env_file: .env | ||
depends_on: | ||
- postgres | ||
cosmogony-tiles: | ||
build: ./tiles | ||
|
||
tiles: | ||
image: osmwithoutborders/cosmogony-tiles | ||
env_file: .env | ||
depends_on: | ||
- postgres | ||
ports: | ||
- 127.0.0.1:6767:6767 | ||
cosmogony-api: | ||
build: ./api | ||
- 6767 | ||
|
||
api: | ||
image: osmwithoutborders/cosmogony-api | ||
env_file: .env | ||
depends_on: | ||
- postgres | ||
ports: | ||
- 127.0.0.1:8000:8000 | ||
- 8000 | ||
|
||
explorer: | ||
build: ./explorer | ||
image: osmwithoutborders/cosmogony-explorer | ||
depends_on: | ||
- cosmogony-api | ||
- api | ||
ports: | ||
- 8585:80 | ||
- 8585:80 # TODO remove this | ||
volumes: | ||
- data-dashboard:/mnt/data_dashboard |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,3 @@ RUN pip install pipenv | |
RUN pipenv install --system --deploy | ||
|
||
RUN chmod +x import.py | ||
|
||
CMD sleep infinity |
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 was deleted.
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