summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/docker-compose.nakama.yml (renamed from toolchain/docker-compose.yml)1
-rw-r--r--toolchain/docker-compose.nexus.yml18
2 files changed, 18 insertions, 1 deletions
diff --git a/toolchain/docker-compose.yml b/toolchain/docker-compose.nakama.yml
index 205230c..0499b91 100644
--- a/toolchain/docker-compose.yml
+++ b/toolchain/docker-compose.nakama.yml
@@ -1,4 +1,3 @@
-version: "3"
services:
cockroachdb:
image: cockroachdb/cockroach:latest-v23.1
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