db: create user table
This commit is contained in:
22
deployment/docker-compose.yml
Normal file
22
deployment/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user