Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tyrauber/fly-baremaps
Baremaps on Fly.io
https://github.com/tyrauber/fly-baremaps
Last synced: about 1 month ago
JSON representation
Baremaps on Fly.io
- Host: GitHub
- URL: https://github.com/tyrauber/fly-baremaps
- Owner: tyrauber
- License: apache-2.0
- Created: 2023-02-04T18:55:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T00:55:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T11:54:51.579Z (3 months ago)
- Language: Dockerfile
- Size: 1.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fly-baremaps
An Alpine LTS image with the latest [Baremaps](https://github.com/apache/incubator-baremaps), compiled and configured for [Fly.io](https://fly.io).
## Usage
`$ fly launch`
Choose your app name and create a postgres instance. Do not deploy.
Depending on how much of the world you won't to import you will need a volume to store the data.
`fly volumes create data --size 10`
You will also need to [extend the volume of the postgres instance](https://fly.io/docs/reference/volumes/#creating-volumes) to accommodate the data.
Add to your fly.tpl:
```
[build]
image = "ghcr.io/tyrauber/fly-baremaps:main"
```Now deploy.
`$ fly deploy`
When it's done deploying. We need to add some data to our database.
`$ fly ssh console`
## Natural Earth
`> baremaps workflow execute --file examples/naturalearth/workflow.json``$ fly open`