diff --git a/web/docker-compose.yaml b/web/docker-compose.yaml index a16b2bb..2f878eb 100644 --- a/web/docker-compose.yaml +++ b/web/docker-compose.yaml @@ -9,20 +9,18 @@ ports: - "5432:5432" volumes: - - postgres_data:/var/lib/postgresql + - postgres_data:/var/lib/postgresql/data templateweb: - image: templateweb build: context: . dockerfile: TemplateWeb/Dockerfile environment: - - ConnectionStrings__DefaultConnection=Host=db;Database=templatedb;Username=user;Password=password + ConnectionStrings__DefaultConnection: "Host=db;Database=templatedb;Username=user;Password=password" depends_on: - db ports: - "8080:8080" volumes: - postgres_data: - + postgres_data: \ No newline at end of file