-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 891 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
db:
container_name: posthog_lite_db
environment:
POSTGRES_DB: posthog_lite
POSTGRES_PASSWORD: posthog
POSTGRES_USER: posthog
image: postgres:13-alpine
volumes:
- postgres-data:/var/lib/postgresql/data
redis:
container_name: posthog_lite_redis
image: redis:6-alpine
web:
container_name: posthog_lite_web
depends_on:
- db
- redis
environment:
DATABASE_URL: postgres://posthog:posthog@db:5432/posthog_lite
REDIS_URL: redis://redis:6379/
SECRET_KEY: <randomly generated secret key>
image: postlang/posthog-llm-lite:latest
links:
- db:db
- redis:redis
ports:
- 8000:8000
- 80:8000
volumes:
postgres-data:
version: '3'