- docker-compose run --rm web osmosis \
- --read-pbf /path/to/file.osm.pbf \
- --write-apidb \
- host="db" \
- database="openstreetmap" \
- user="openstreetmap" \
- validateSchemaVersion="no"
+If you want to get into a web container and run specific commands you can fire up a throwaway container to run bash in via:
+
+ docker compose run --rm web bash
+
+Alternatively, if you want to use the already-running `web` container then you can `exec` into it via:
+
+ docker compose exec web bash
+
+Similarly, if you want to `exec` in the db container use:
+
+ docker compose exec db bash