easy-osm2city-podman/README.md

14 lines
652 B
Markdown
Raw Normal View History

2020-07-16 15:26:50 +00:00
# easy-osm2city-podman
Repo for containerisation of easy-osm2city
## Networking
`podman network create o2c`
## Psql
`podman run -i -d -t --name o2c-psql --network o2c -v /storage/databases/postgresql/13/main/:/var/lib/postgresql/data/ -e POSTGRES_PASSWORD=FG-is-GREAT docker.io/postgis/postgis:13-master`
## Osm2city container
`podman run -i -t -d -v <base-scenery>:/scenery/ -v <pbf-storage>:/easy-osm2city/pbf -v <project-storage>:/easy-osm2city/projects -v <tmp-directory>:/tmp --name o2c --network o2c registry.gitlab.com/merspieler/easy-osm2city/full:latest`
We need to have `/tmp` on a volume cause we otherwise get issues with performance.