30 lines
682 B
YAML
30 lines
682 B
YAML
|
version: '3.4'
|
||
|
|
||
|
services:
|
||
|
db:
|
||
|
image: postgres:14-alpine
|
||
|
environment:
|
||
|
POSTGRES_USER: feedizer
|
||
|
POSTGRES_PASSWORD: feedizer
|
||
|
POSTGRES_DB: feedizer
|
||
|
|
||
|
app:
|
||
|
image: feedizer
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: ./Dockerfile
|
||
|
depends_on:
|
||
|
- db
|
||
|
ports:
|
||
|
- 3000:3000
|
||
|
environment:
|
||
|
FEEDIZER_DATABASE_HOST: db
|
||
|
FEEDIZER_DATABASE_PORT: 5432
|
||
|
FEEDIZER_DATABASE_USERNAME: feedizer
|
||
|
FEEDIZER_DATABASE_PASSWORD: feedizer
|
||
|
FEEDIZER_DATABASE_DATABASE: feedizer
|
||
|
FEEDIZER_DATABASE_OPTIONS: sslmode=disable
|
||
|
FEEDIZER_SERVER_ADDRESS: :3000
|
||
|
FEEDIZER_SERVER_TEMPLATEDIR:
|
||
|
FEEDIZER_SERVER_STATICDIR:
|