diff options
author | mrfoxygmfr <mrfoxygmfr@sch9.ru> | 2025-03-17 12:18:07 +0300 |
---|---|---|
committer | mrfoxygmfr <mrfoxygmfr@sch9.ru> | 2025-03-17 12:18:07 +0300 |
commit | cc3d95e5ac17887b38b417e91da1cef36fed7f4b (patch) | |
tree | e250d5bb966de1cd46959dbec6fdac73965f6e2c | |
parent | 72ba4ae3f646b12d7b02094d3d8afd77148f8083 (diff) |
feat: add postgres docker-compose
-rw-r--r-- | deployment/docker-compose.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/docker-compose.yaml b/deployment/docker-compose.yaml new file mode 100644 index 0000000..d93a093 --- /dev/null +++ b/deployment/docker-compose.yaml @@ -0,0 +1,17 @@ +volumes: + warehouse-accounting-postgres-data: + name: warehouse-accounting-postgres-data + driver: local + + +services: + postgres: + image: postgres:17.4-alpine + container_name: warehouse-accounting-postgres + environment: + - POSTGRES_PASSWORD=postgres + ports: + - 5432:5432 + volumes: + - warehouse-accounting-postgres-data:/var/lib/postgresql/data + |