You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
ghostfolio:
|
|
|
|
build: ../
|
|
|
|
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:
|