Skip to content

Commit

Permalink
docker: fix default network name in docker-compose.yml
Browse files Browse the repository at this point in the history
If omitted, the project name is automatically deduced from the
parent directory name. This was working fine for container names
because we were explicitly defining their names, but the network
name was left unspecified. osrdyne default config depends on the
network name being "osrd_default", but that wasn't the case when
the parent directory wasn't named "osrd".

Explicitly set the project name to fix this.

Signed-off-by: Simon Ser <[email protected]>
  • Loading branch information
emersion authored and Khoyo committed Jan 22, 2025
1 parent f556575 commit c19ee8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: osrd

volumes:
psql_data:
valkey_data:
rabbitmq_data:


services:
postgres:
image: ${OSRD_POSTGIS_IMAGE:-postgis/postgis:16-3.4-alpine}
Expand Down

0 comments on commit c19ee8e

Please sign in to comment.