diff options
Diffstat (limited to 'gotosocial/docker-compose.yml')
-rw-r--r-- | gotosocial/docker-compose.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gotosocial/docker-compose.yml b/gotosocial/docker-compose.yml new file mode 100644 index 0000000..afeb82f --- /dev/null +++ b/gotosocial/docker-compose.yml @@ -0,0 +1,32 @@ +version: "3.3" + +services: + gotosocial: + image: superseriousbusiness/gotosocial:latest + container_name: gotosocial + user: 1000:1000 + networks: + - gotosocial + environment: + GTS_HOST: yourdomain.com + GTS_DB_TYPE: sqlite + GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db + # Let's Encrpt SSL + GTS_LETSENCRYPT_ENABLED: "false" + GTS_LETSENCRYPT_EMAIL_ADDRESS: "" + ## For reverse proxy setups: + GTS_TRUSTED_PROXIES: "172.26.0.1" + ports: + #- "443:8080" + ## For letsencrypt: + #- "80:80" + ## For reverse proxy setups: + - "127.0.0.1:8788:8080" + volumes: + - ./data:/gotosocial/storage + restart: "always" + +networks: + gotosocial: + ipam: + driver: default
\ No newline at end of file |