ghostfolio/docker/docker-compose.yml
Thomas Kaul 547e27c7a1
Feature/set node env in docker compose files (#1261)
* Set NODE_ENV to production

* Update changelog
2022-09-15 17:20:03 +02:00

27 lines
542 B
YAML

version: '3.7'
services:
ghostfolio:
image: ghostfolio/ghostfolio:latest
env_file:
- ../.env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer
NODE_ENV: production
REDIS_HOST: 'redis'
REDIS_PASSWORD: ${REDIS_PASSWORD}
ports:
- 3333:3333
postgres:
image: postgres:12
env_file:
- ../.env
volumes:
- postgres:/var/lib/postgresql/data
redis:
image: 'redis:alpine'
volumes:
postgres: