Initialize database

This commit is contained in:
fpellet 2019-12-13 09:41:00 +01:00
parent 06e425cc2b
commit b36a209660

View File

@ -0,0 +1,24 @@
version: '3'
services:
database:
image: postgres:12.1
environment:
- DB_HOST=localhost
- DB_PASSWORD=admin
- PGHOST=localhost
- PGDATABASE=postgres
- PGPASSWORD=admin
- PGUSER=postgres
- POSTGRES_PASSWORD=admin
ports:
- "5432:5432"
volumes:
- .:/app/:z
admin:
image: adminer
links:
- database
ports:
- "8081:8080"