Our Personal Data Server from scratch!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 54 lines 1.1 kB view raw
1services: 2 app: 3 build: 4 context: . 5 dockerfile: Dockerfile 6 image: tranquil-pds 7 ports: 8 - "3000:3000" 9 environment: 10 DATABASE_URL: postgres://postgres:postgres@db:5432/pds 11 volumes: 12 - ./config.toml:/etc/tranquil-pds/config.toml:ro 13 - blob_data:/var/lib/tranquil/blobs 14 depends_on: 15 - db 16 17 frontend: 18 build: 19 context: ./frontend 20 dockerfile: Dockerfile 21 image: tranquil-pds-frontend 22 ports: 23 - "8080:80" 24 depends_on: 25 - app 26 27 db: 28 image: postgres:18-alpine 29 environment: 30 POSTGRES_USER: postgres 31 POSTGRES_PASSWORD: postgres 32 POSTGRES_DB: pds 33 ports: 34 - "5432:5432" 35 volumes: 36 - postgres_data:/var/lib/postgresql 37 38 prometheus: 39 image: prom/prometheus:v3.8.0 40 ports: 41 - "9090:9090" 42 volumes: 43 - ./observability/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro 44 - prometheus_data:/prometheus 45 command: 46 - '--config.file=/etc/prometheus/prometheus.yaml' 47 - '--storage.tsdb.path=/prometheus' 48 depends_on: 49 - app 50 51volumes: 52 postgres_data: 53 blob_data: 54 prometheus_data: