diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml new file mode 100644 index 0000000..ec371f2 --- /dev/null +++ b/docker-compose.dev.yml @@ -0,0 +1,21 @@ +services: + postgres: + image: postgres:16-alpine + container_name: acw-postgres-dev + restart: unless-stopped + environment: + POSTGRES_USER: acw + POSTGRES_PASSWORD: acw + POSTGRES_DB: acw + ports: + - "5432:5432" + volumes: + - acw-pg-dev:/var/lib/postgresql/data + healthcheck: + test: ["CMD-SHELL", "pg_isready -U acw"] + interval: 5s + timeout: 5s + retries: 5 + +volumes: + acw-pg-dev: