Updated README

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-11-22 23:53:46 +01:00
parent ea7a9e0346
commit ffebf93314

View file

@ -16,7 +16,7 @@ This was tested with podman version 3.2
We need to have `/tmp` on a volume cause we otherwise get issues with performance. We need to have `/tmp` on a volume cause we otherwise get issues with performance.
## Packager container ## Packager container
`podman run -itd --name packager -v <scenery-dir>:/in -v <output-dir>:/out -v <tmp-directory>:/tmp -e API_URL=<api> -e API_TOKEN=<token> registry.gitlab.com/merspieler/easy-osm2city/packager:latest` `podman run -itd --name packager -v <scenery-dir>:/in -v <output-dir>:/out -v <tmp-directory>:/tmp -e API_URL=<api> -e API_TOKEN=<token> quay.merspieler.tk/merspieler/osm2city:packager-latest`
`API_URL` and `API_TOKEN` have to be given. `API_URL` and `API_TOKEN` have to be given.
We need to have `/tmp` on a volume cause we otherwise get issues with performance and storage space. We need to have `/tmp` on a volume cause we otherwise get issues with performance and storage space.
@ -25,7 +25,7 @@ We need to have `/tmp` on a volume cause we otherwise get issues with performanc
`podman run -itd --name mysql --network o2c -v <mysql-database-storage>:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=something-save -e MYSQL_DATABASE=worldbuild -e MYSQL_USER=flightgear -e MYSQL_PASSWORD=FG-is-GREAT docker.io/library/mariadb` `podman run -itd --name mysql --network o2c -v <mysql-database-storage>:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=something-save -e MYSQL_DATABASE=worldbuild -e MYSQL_USER=flightgear -e MYSQL_PASSWORD=FG-is-GREAT docker.io/library/mariadb`
## Managment container ## Managment container
`podman run -itd --name manager --network o2c -p 8888:80 registry.gitlab.com/merspieler/easy-osm2city/manager:latest` `podman run -itd --name manager --network o2c -p 8888:80 quay.merspieler.tk/merspieler/osm2city:manager-latest`
Following env vars may need to be set if the defaults don't apply. Following env vars may need to be set if the defaults don't apply.
@ -36,4 +36,4 @@ Following env vars may need to be set if the defaults don't apply.
* `SQL_DATABASE`: Database to use (default: worldbuild) * `SQL_DATABASE`: Database to use (default: worldbuild)
## Terrasync container ## Terrasync container
`podman run -itd --name terrasync --hostname terrasync -v <scenery>:/scenery/ -v <config-dir>:/config/ -v <log-dir>:/log/ registry.gitlab.com/merspieler/easy-osm2city/terrasync:0.1.1` `podman run -itd --name terrasync --hostname terrasync -v <scenery>:/scenery/ -v <config-dir>:/config/ -v <log-dir>:/log/ quay.merspieler.tk/merspieler/osm2city:terrasync-latest`