docker: add docker-compose file with postgresql

master
fbonhomm 2019-09-15 16:33:28 +02:00
parent 59d9d07f95
commit 6907547fde
1 changed files with 24 additions and 0 deletions

24
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,24 @@
version: "3"
volumes:
postgresql_data:
driver: local
services:
postgresql:
image: bitnami/postgresql:latest
environment:
- POSTGRESQL_USERNAME=root
- POSTGRESQL_PASSWORD=123456
- POSTGRESQL_DATABASE=test
ports:
- 5432:5432
volumes:
- postgresql_data:/bitnami/postgresql
adminer:
image: adminer:latest
environment:
- ADMINER_DEFAULT_SERVER=localhost
ports:
- 8080:8080