mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 20:32:15 +00:00
Initialize database
This commit is contained in:
parent
06e425cc2b
commit
b36a209660
24
postgres/docker-compose.yml
Normal file
24
postgres/docker-compose.yml
Normal 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"
|
||||||
Loading…
Reference in New Issue
Block a user