A locally focused bluesky appview
at master 1.1 kB view raw
1services: 2 postgres: 3 image: postgres:15-alpine 4 container_name: konbini-db 5 environment: 6 POSTGRES_DB: konbini 7 POSTGRES_USER: konbini 8 POSTGRES_PASSWORD: konbini_password 9 ports: 10 - "5432:5432" 11 volumes: 12 - postgres_data:/var/lib/postgresql/data 13 healthcheck: 14 test: ["CMD-SHELL", "pg_isready -U konbini"] 15 interval: 10s 16 timeout: 5s 17 retries: 5 18 19 backend: 20 build: 21 context: . 22 dockerfile: Dockerfile 23 container_name: konbini-backend 24 environment: 25 - DATABASE_URL=postgres://konbini:konbini_password@postgres:5432/konbini?sslmode=disable 26 - BSKY_HANDLE=${BSKY_HANDLE:?} 27 - BSKY_PASSWORD=${BSKY_PASSWORD:?} 28 ports: 29 - "4444:4444" 30 depends_on: 31 postgres: 32 condition: service_healthy 33 restart: unless-stopped 34 35 frontend: 36 build: 37 context: ./frontend 38 dockerfile: Dockerfile 39 container_name: konbini-frontend 40 ports: 41 - "3000:80" 42 depends_on: 43 - backend 44 restart: unless-stopped 45 46volumes: 47 postgres_data: