docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
355 B

# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
POSTGRES_USER: user
POSTGRES_DB: example
volumes:
- ./db:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080