2021-04-13 21:53:58 +02:00
|
|
|
version: '3.7'
|
|
|
|
services:
|
2021-12-21 20:22:58 +01:00
|
|
|
ghostfolio:
|
2022-04-02 12:06:06 +02:00
|
|
|
image: ghostfolio/ghostfolio:latest
|
2021-12-21 20:22:58 +01:00
|
|
|
env_file:
|
|
|
|
- ../.env
|
|
|
|
environment:
|
2022-06-04 10:02:38 +02:00
|
|
|
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer
|
2022-09-15 17:20:03 +02:00
|
|
|
NODE_ENV: production
|
2021-12-21 20:22:58 +01:00
|
|
|
REDIS_HOST: 'redis'
|
2022-05-29 07:18:57 -05:00
|
|
|
REDIS_PASSWORD: ${REDIS_PASSWORD}
|
2021-12-21 20:22:58 +01:00
|
|
|
ports:
|
|
|
|
- 3333:3333
|
|
|
|
|
2021-04-13 21:53:58 +02:00
|
|
|
postgres:
|
|
|
|
image: postgres:12
|
|
|
|
env_file:
|
|
|
|
- ../.env
|
|
|
|
volumes:
|
|
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
|
|
|
|
redis:
|
|
|
|
image: 'redis:alpine'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres:
|