Skip to content

Commit

Permalink
fix dbname (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtai authored Apr 19, 2024
1 parent 7b65cd4 commit 525202c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ format:

# Internal hidden targets that are used only in docker environment
--in-docker-start-debug --in-docker-start-release: --in-docker-start-%: install-%
psql 'postgresql://user:password@service-postgres:5432/pg_service_template_db-1' -f ./postgresql/data/initial_data.sql
psql 'postgresql://user:password@service-postgres:5432/pg_service_template_db_1' -f ./postgresql/data/initial_data.sql
/home/user/.local/bin/pg_service_template \
--config /home/user/.local/etc/pg_service_template/static_config.yaml \
--config_vars /home/user/.local/etc/pg_service_template/config_vars.docker.yaml
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
container_name: service-postgres
image: postgres:12
environment:
- POSTGRES_DB=pg_service_template_db-1
- POSTGRES_DB=pg_service_template_db_1
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
ports:
Expand All @@ -20,7 +20,7 @@ services:
image: ghcr.io/userver-framework/ubuntu-22.04-userver-pg:latest
privileged: true
environment:
- POSTGRES_DB=pg_service_template_db-1
- POSTGRES_DB=pg_service_template_db_1
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- PREFIX=${PREFIX:-~/.local}
Expand Down

0 comments on commit 525202c

Please sign in to comment.