mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-26 00:50:30 +00:00
8942a70856
* [docs] Clarify that reverse proxy setups need trusted-proxies * Remove the jq usage
31 lines
729 B
YAML
31 lines
729 B
YAML
version: "3.3"
|
|
|
|
services:
|
|
gotosocial:
|
|
image: superseriousbusiness/gotosocial:latest
|
|
container_name: gotosocial
|
|
user: 1000:1000
|
|
networks:
|
|
- gotosocial
|
|
environment:
|
|
GTS_HOST: example.org
|
|
GTS_DB_TYPE: sqlite
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
|
GTS_LETSENCRYPT_ENABLED: "false"
|
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
|
## For reverse proxy setups:
|
|
# GTS_TRUSTED_PROXIES: "172.x.x.x"
|
|
ports:
|
|
- "443:8080"
|
|
## For letsencrypt:
|
|
#- "80:80"
|
|
## For reverse proxy setups:
|
|
#- "127.0.0.1:8080:8080"
|
|
volumes:
|
|
- ~/gotosocial/data:/gotosocial/storage
|
|
restart: "always"
|
|
|
|
networks:
|
|
gotosocial:
|
|
ipam:
|
|
driver: default
|