Skip to content

Commit

Permalink
fix network name in docker-compose (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Mar 31, 2021
1 parent e02da05 commit 8aa34f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Use `postserve <tileset>` to start serving. Use `--help` to get the list of Post
* run `docker pull openmaptiles/openmaptiles-tools` to download the latest tools version
* from inside the openmaptiles repo dir, run this command.
(This assumes PostgreSQL is on the localhost:5432, but if it runs inside docker, you may want to change
`--net=host` to `--net=openmaptiles_postgres_conn` to match the openmaptiles quickstart, and also expose
`--net=host` to `--net=openmaptiles_postgres` to match the openmaptiles quickstart, and also expose
port 8090 to the host with `-p 8090:8090`)
```
docker run -it --rm -u $(id -u ${USER}):$(id -g ${USER}) \
Expand Down
6 changes: 3 additions & 3 deletions tests/sql/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.1'

networks:
postgres_conn:
postgres:
driver: bridge

services:
Expand All @@ -11,7 +11,7 @@ services:
- "5432"
env_file: test.env
networks:
- postgres_conn
- postgres

tests:
image: "$DOCKER_IMAGE"
Expand All @@ -23,4 +23,4 @@ services:
depends_on:
- postgres
networks:
- postgres_conn
- postgres

0 comments on commit 8aa34f6

Please sign in to comment.