diff --git a/containers/python-3-postgres/.devcontainer/docker-compose.yml b/containers/python-3-postgres/.devcontainer/docker-compose.yml index a0eae5887a..554db7ca61 100644 --- a/containers/python-3-postgres/.devcontainer/docker-compose.yml +++ b/containers/python-3-postgres/.devcontainer/docker-compose.yml @@ -14,10 +14,13 @@ services: # Overrides default command so things don't shut down after the process ends. command: sleep infinity + links: + - db + db: image: postgres restart: always ports: - 5432:5432 environment: - POSTGRES_PASSWORD: LocalPassword \ No newline at end of file + POSTGRES_PASSWORD: LocalPassword