db: create user table

This commit is contained in:
Muyao CHEN
2024-10-04 21:19:49 +02:00
parent 8e14ccd12a
commit b9d4a58d71
6 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,22 @@
services:
postgres:
image: postgres
restart: always
ports:
- "5432:5432"
deploy:
mode: replicated
replicas: 1
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: example
POSTGRES_DB: howmuch
volumes:
- ./db_data/postgres/:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080