A very performant and light (2mb in memory) link shortener and tracker. Written in Rust and React and uses Postgres/SQLite.
1version: '3.8' 2services: 3 db: 4 image: postgres:15-alpine 5 container_name: shortener-db 6 environment: 7 POSTGRES_DB: shortener 8 POSTGRES_USER: shortener 9 POSTGRES_PASSWORD: shortener123 10 ports: 11 - "5432:5432" 12 volumes: 13 - shortener-data:/var/lib/postgresql/data 14 healthcheck: 15 test: ["CMD-SHELL", "pg_isready -U shortener"] 16 interval: 5s 17 timeout: 5s 18 retries: 5 19 20volumes: 21 shortener-data: 22