Skip to content

Commit

Permalink
Update naming convention for networks (#1093)
Browse files Browse the repository at this point in the history
* Update naming convention for networks

* move to postgres
  • Loading branch information
remyleone committed Mar 30, 2021
1 parent 2943e9d commit d5480d2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ volumes:
pgdata:

networks:
postgres_conn:
postgres:
driver: bridge

services:
Expand All @@ -16,7 +16,7 @@ services:
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- postgres_conn
- postgres
ports:
- "5432"
env_file: .env-postgres
Expand All @@ -25,7 +25,7 @@ services:
image: "openmaptiles/import-data:${TOOLS_VERSION}"
env_file: .env
networks:
- postgres_conn
- postgres

openmaptiles-tools:
image: "openmaptiles/openmaptiles-tools:${TOOLS_VERSION}"
Expand All @@ -49,7 +49,7 @@ services:
# Control import-sql processes
MAX_PARALLEL_PSQL: ${MAX_PARALLEL_PSQL}
networks:
- postgres_conn
- postgres
volumes:
- .:/tileset
- ./data:/import
Expand All @@ -65,7 +65,7 @@ services:
- ./data:/export
- ./build/openmaptiles.tm2source:/tm2source
networks:
- postgres_conn
- postgres
env_file: .env
environment:
FILTER_MAPNIK_OUTPUT: ${FILTER_MAPNIK_OUTPUT}
Expand All @@ -79,7 +79,7 @@ services:
- ./data:/export
- ./build/openmaptiles.tm2source:/tm2source
networks:
- postgres_conn
- postgres
env_file: .env
environment:
FILTER_MAPNIK_OUTPUT: ${FILTER_MAPNIK_OUTPUT}
Expand All @@ -98,7 +98,7 @@ services:
environment:
TILESET_FILE: ${TILESET_FILE}
networks:
- postgres_conn
- postgres
ports:
- "${PPORT:-8090}:${PPORT:-8090}"
volumes:
Expand Down

0 comments on commit d5480d2

Please sign in to comment.