Initial commit: Organized PTC project structure with .gitignore and README
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
container_name: budget-postgres
|
||||
environment:
|
||||
POSTGRES_DB: budgetdb
|
||||
POSTGRES_USER: budget
|
||||
POSTGRES_PASSWORD: budget123
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./db/schema.sql:/docker-entrypoint-initdb.d/01_schema.sql:ro
|
||||
- ./db/seed.sql:/docker-entrypoint-initdb.d/02_seed.sql:ro
|
||||
|
||||
adminer:
|
||||
image: adminer:4
|
||||
container_name: budget-adminer
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user