Files
gotosocial/docker-compose.yml
T

34 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
services:
gotosocial:
# Фиксированный тег стабильного релиза (обновление — вручную)
image: superseriousbusiness/gotosocial:v0.22.1
container_name: gotosocial
restart: unless-stopped
# uid/gid пользователя estorozhenko на bigbox
user: "1000:1000"
environment:
# Окружение процесса GtS (не секреты — в git)
TZ: Europe/Moscow
# OpenTelemetry → Prometheus (метрики)
OTEL_METRICS_PRODUCERS: prometheus
OTEL_METRICS_EXPORTER: prometheus
env_file:
- .env
ports:
# Caddy с vps02 → 10.8.0.2:8080 (через WG) → контейнер
- "8080:8080"
volumes:
# Данные: SQLite + медиа (локальное хранилище)
- ./data:/gotosocial/storage
# Конфиг (read-only, в git)
- ./config.yaml:/gotosocial/config.yaml:ro
networks:
- gotosocial
networks:
gotosocial:
ipam:
config:
# Выделенная подсеть (172.29.0.0/16 свободна на bigbox)
- subnet: "172.29.0.0/16"
gateway: "172.29.0.1"