services: plain: profiles: [plain] # Pull the published image, or `docker compose build` to use the local source. image: ghcr.io/readeem/hostebin:latest build: . restart: unless-stopped ports: - "8080:8080" environment: HOSTEBIN_TOKEN: ${HOSTEBIN_TOKEN:-} volumes: - hostebin-plain:/data tailscale: profiles: [tailscale] image: ghcr.io/readeem/hostebin:latest build: . restart: unless-stopped command: ["serve", "--port=0", "--tailscale", "--data", "/data"] environment: HOSTEBIN_TS_AUTH_KEY: ${HOSTEBIN_TS_AUTH_KEY:-} HOSTEBIN_TOKEN: ${HOSTEBIN_TOKEN:-} HOSTEBIN_TS_HOSTNAME: ${HOSTEBIN_TS_HOSTNAME:-hostebin} volumes: - hostebin-tailscale:/data volumes: hostebin-plain: hostebin-tailscale: