2022-03-01 13:17:36 +00:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
gotosocial:
|
2022-04-19 10:45:54 +00:00
|
|
|
image: superseriousbusiness/gotosocial:latest
|
|
|
|
container_name: gotosocial
|
|
|
|
user: 1000:1000
|
2022-03-01 13:17:36 +00:00
|
|
|
networks:
|
|
|
|
- gotosocial
|
|
|
|
environment:
|
2022-04-19 10:45:54 +00:00
|
|
|
GTS_HOST: example.org
|
|
|
|
GTS_DB_TYPE: sqlite
|
|
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
|
|
|
GTS_LETSENCRYPT_ENABLED: "false"
|
|
|
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
2022-11-23 15:10:56 +00:00
|
|
|
## For reverse proxy setups:
|
|
|
|
# GTS_TRUSTED_PROXIES: "172.x.x.x"
|
2023-08-01 12:47:53 +00:00
|
|
|
## Set the timezone of your server:
|
|
|
|
#TZ: UTC
|
2022-04-19 10:45:54 +00:00
|
|
|
ports:
|
|
|
|
- "443:8080"
|
2022-11-23 15:10:56 +00:00
|
|
|
## For letsencrypt:
|
2022-04-19 10:45:54 +00:00
|
|
|
#- "80:80"
|
2022-11-23 15:10:56 +00:00
|
|
|
## For reverse proxy setups:
|
|
|
|
#- "127.0.0.1:8080:8080"
|
2022-03-01 13:17:36 +00:00
|
|
|
volumes:
|
2022-04-19 10:45:54 +00:00
|
|
|
- ~/gotosocial/data:/gotosocial/storage
|
2022-03-01 13:17:36 +00:00
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gotosocial:
|
|
|
|
ipam:
|
2022-04-19 10:45:54 +00:00
|
|
|
driver: default
|