diff options
Diffstat (limited to 'toolchain/docker-compose.nexus.yml')
| -rw-r--r-- | toolchain/docker-compose.nexus.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/toolchain/docker-compose.nexus.yml b/toolchain/docker-compose.nexus.yml new file mode 100644 index 0000000..2aa4c18 --- /dev/null +++ b/toolchain/docker-compose.nexus.yml @@ -0,0 +1,18 @@ +services:
+ postgres:
+ image: postgres:18-alpine
+ restart: "no"
+ environment:
+ POSTGRES_USER: postgres
+ POSTGRES_PASSWORD: ""
+ POSTGRES_HOST_AUTH_METHOD: trust
+ POSTGRES_DB: nexus
+ volumes:
+ - ../data/postgres:/var/lib/postgresql
+ ports:
+ - "5432:5432"
+ healthcheck:
+ test: ["CMD", "pg_isready", "-U", "postgres"]
+ interval: 3s
+ timeout: 3s
+ retries: 5
\ No newline at end of file |
