infra: add postgres and adminer to development docker compose

This commit is contained in:
Justin Lin committed 2026-10-11 18:11:20 +11:00
1 parent e449f9987b
commit 4cf79a164c
2 files changed
+22 -1

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ pids
*.seed
*.pid.lock
data
postgres-data
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
+21 -1
View File
@@ -22,7 +22,6 @@ services:
db:
image: mongo:6
restart: always
networks:
- internal
ports:
@@ -30,6 +29,26 @@ services:
volumes:
- ./data:/data/db
postgres:
image: postgres:18.6
networks:
- internal
ports:
- 5173:5173
volumes:
- ./postgres-data:/var/lib/postgresql
environment:
POSTGRES_USER: commander
POSTGRES_DB: odyssey-dev
POSTGRES_PASSWORD: mysecretpassword
adminer:
image: adminer
networks:
- internal
ports:
- 18080:8080
base:
image: linuxodyssey/quest-base
networks:
@@ -37,6 +56,7 @@ services:
build:
context: .
dockerfile: ./quests/Dockerfile
command: exit 0
extra_hosts:
- 'host.docker.internal:host-gateway'
labels: