Skip to content

Commit c0754c1

Browse files
committed
working on devcontainer conflict
1 parent a3cca87 commit c0754c1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.devcontainer/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ services:
1818
- postgres-data:/var/lib/postgresql/data
1919
environment:
2020
POSTGRES_USER: postgres
21-
POSTGRES_DB: postgres
21+
POSTGRES_DB: dsglib_test
2222
POSTGRES_PASSWORD: postgres
2323
ports:
24-
- "5432:5432"
24+
- "5433:5432"
2525
networks:
2626
- app-network
2727

@@ -32,7 +32,7 @@ services:
3232
PGADMIN_DEFAULT_EMAIL: pgadmin@email.com
3333
PGADMIN_DEFAULT_PASSWORD: pgadmin
3434
ports:
35-
- "5050:80"
35+
- "5051:80"
3636
depends_on:
3737
- postgresdbTest
3838
networks:

tests/test_database_functions/test_base_schema.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
# Get the database URL from the environment variable
1313
database_url = os.getenv(
14-
'DATABASE_URL', 'postgresql://postgres:postgres@postgresdbTest:5432/postgres'
14+
'DATABASE_URL', 'postgresql://postgres:postgres@postgresdbTest:5432/dsglib_test'
15+
# postgres://postgres:postgres@postgresdb:5432/devsetgo_local
1516
)
1617

1718
Base = declarative_base()

0 commit comments

Comments
 (0)