Skip to content
Snippets Groups Projects
Commit d0bd1917 authored by jenda's avatar jenda
Browse files

Fix postgre user, move DB to docker

parent d3c5ffda
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,9 @@ services: ...@@ -14,7 +14,9 @@ services:
postgresdb: postgresdb:
condition: service_healthy condition: service_healthy
restart: unless-stopped restart: unless-stopped
networks:
- default
postgresdb: postgresdb:
image: postgres:15 image: postgres:15
healthcheck: healthcheck:
...@@ -28,8 +30,8 @@ services: ...@@ -28,8 +30,8 @@ services:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: secret POSTGRES_PASSWORD: secret
POSTGRES_DB: flightlog POSTGRES_DB: flightlog
ports: networks:
- "5432:5432" - default
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment