17 lines
420 B
YAML
17 lines
420 B
YAML
services:
|
|
what-to-watch:
|
|
build:
|
|
context: .
|
|
environment:
|
|
# Pass environment variables to the container
|
|
NODE_ENV: production
|
|
PORT: 3630
|
|
DB_HOST: ${DB_HOST:-db}
|
|
DB_PORT: ${DB_PORT:-3306}
|
|
DB_USER: ${DB_USER:-whattowatch}
|
|
DB_PASSWORD: ${DB_PASSWORD:-whattowatch}
|
|
DB_NAME: ${DB_NAME:-whattowatch}
|
|
TMDB_API_KEY: ${TMDB_API_KEY}
|
|
ports:
|
|
- 3630:3630
|