diff --git a/database/docker-compose.yml b/database/docker-compose.yml new file mode 100644 index 0000000..1f21545 --- /dev/null +++ b/database/docker-compose.yml @@ -0,0 +1,15 @@ +version: "3.9" + +services: + postgresql: + image: postgres:alpine + container_name: "postgresql" + environment: + - "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}" + volumes: + - ./data:/var/lib/postgresql/data + networks: + - database +networks: + database: + external: true \ No newline at end of file