docker-compose.yaml (729B)
1 version: "3.3" 2 3 services: 4 gotosocial: 5 image: superseriousbusiness/gotosocial:latest 6 container_name: gotosocial 7 user: 1000:1000 8 networks: 9 - gotosocial 10 environment: 11 GTS_HOST: example.org 12 GTS_DB_TYPE: sqlite 13 GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db 14 GTS_LETSENCRYPT_ENABLED: "false" 15 GTS_LETSENCRYPT_EMAIL_ADDRESS: "" 16 ## For reverse proxy setups: 17 # GTS_TRUSTED_PROXIES: "172.x.x.x" 18 ports: 19 - "443:8080" 20 ## For letsencrypt: 21 #- "80:80" 22 ## For reverse proxy setups: 23 #- "127.0.0.1:8080:8080" 24 volumes: 25 - ~/gotosocial/data:/gotosocial/storage 26 restart: "always" 27 28 networks: 29 gotosocial: 30 ipam: 31 driver: default