22 lines
366 B
YAML
22 lines
366 B
YAML
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
args:
|
|
GIT_COMMIT: ${GIT_COMMIT:-unknown}
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgres:
|
|
image: postgres
|
|
environment:
|
|
POSTGRES_USER: "user"
|
|
POSTGRES_PASSWORD: "password"
|
|
POSTGRES_DB: "tgex"
|
|
ports:
|
|
- "5432:5432"
|