docker-compose.yml.example 584 B

1234567891011121314151617
  1. version: '3'
  2. services:
  3. app:
  4. image: mserajnik/synupkeep:latest
  5. command: cron # change to `run` to only run once instead of periodically via cron job
  6. volumes:
  7. - /path/to/synapse/data/directory:/data
  8. environment:
  9. - TZ=Etc/UTC
  10. - 'SYNUPKEEP_POSTGRES_CONNECTION_STRING=host=localhost port=5432 user=synapse dbname=synapse password=password'
  11. - SYNUPKEEP_SYNAPSE_API_URL=http://localhost:8008/
  12. - SYNUPKEEP_SYNAPSE_AUTH_TOKEN=
  13. - SYNUPKEEP_DELTA=86400
  14. - SYNUPKEEP_LOGGING_LEVEL=INFO
  15. - SYNUPKEEP_DOCKER_CRON_SCHEDULE=0 4 * * *