Skip to content

Commit

Permalink
Update BUILD.md with caveat for docker-compose restarts
Browse files Browse the repository at this point in the history
  • Loading branch information
ellenhp committed Aug 13, 2022
1 parent d366ae0 commit 4b71973
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ Using a custom OSM extract is a bit more complicated, and less regularly tested.

4. Execute `docker-compose up -d` to bring up a headway server on port 8080.
5. (For https and non-default port use only) reverse-proxy traffic to port 8080.

## Docker-compose restarts

Because Headway's docker-compose configuration uses init containers to populate a docker volume containing internal data, rebuilding the data for a metro area won't update existing containers. It's necessary to run `docker-compose down --volume` to re-initialize the data in the init containers.

This is necessary whenever you rebuild the data for a metro area, or change which area you're serving data for in the `.env` file.

0 comments on commit 4b71973

Please sign in to comment.