23 lines
417 B
YAML
23 lines
417 B
YAML
services:
|
|
app:
|
|
build: .
|
|
ports:
|
|
- "8000:80"
|
|
# volumes:
|
|
# - .:/var/www/html
|
|
depends_on:
|
|
- postgres
|
|
env_file:
|
|
- .env
|
|
postgres:
|
|
image: postgres:16
|
|
environment:
|
|
POSTGRES_DB: skunk_lounge_db
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: secretpassword
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
volumes:
|
|
pgdata: |