name: fogtype services: https: image: caddy:2.9.1-alpine@sha256:b4e3952384eb9524a887633ce65c752dd7c71314d2c2acf98cd5c715aaa534f0 restart: unless-stopped ports: - "80:80" - "443:443/udp" - "443:443/tcp" - "127.0.0.1:2019:2019" volumes: - ./etc/caddy:/etc/caddy - ./srv:/srv - caddy_data:/data - caddy_config:/config networks: - fogtype gts: image: superseriousbusiness/gotosocial:0.18.1@sha256:41ac6d4a7e39f13a14eae7f8dc9c3521a04bdb8d8c962526727898f9b42f4451 restart: unless-stopped expose: ["8080"] environment: GTS_HOST: fogtype.com GTS_DB_TYPE: sqlite GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db GTS_TRUSTED_PROXIES: 172.30.0.0/24 volumes: - /usr/share/zoneinfo/Asia/Tokyo:/etc/localtime:ro - ./etc/gotosocial:/etc/gotosocial - gotosocial_data:/gotosocial/storage command: "--config-path /etc/gotosocial/config.yaml" networks: - fogtype maddy: image: foxcpp/maddy:0.8.1@sha256:55636d8a29588eea62d81d51acdafe38e0f694fb91801ab12dc1ed8c47b6439d restart: unless-stopped ports: - "25:25" - "465:465" - "993:993" environment: MADDY_HOSTNAME: fogtype.com MADDY_DOMAIN: fogtype.com volumes: - ./etc/maddy:/etc/maddy - caddy_data:/var/lib/caddy/data:ro - maddy_data:/data headscale: image: headscale/headscale:v0.25.0@sha256:97febecbe6cb92b956096ec51b9da60f670df5d0bc46f7ccd86d015c95efaf16 restart: unless-stopped ports: - "3478:3478/udp" - "127.0.0.1:9200:9200" volumes: - ./etc/headscale:/etc/headscale - headscale_data:/var/lib/headscale networks: - fogtype command: serve volumes: caddy_data: caddy_config: gotosocial_data: maddy_data: headscale_data: networks: fogtype: ipam: driver: default config: - subnet: 172.30.0.0/24