2022-03-01 16:17:36 +03:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
gotosocial:
|
2022-04-19 13:45:54 +03:00
|
|
|
image: superseriousbusiness/gotosocial:latest
|
|
|
|
container_name: gotosocial
|
|
|
|
user: 1000:1000
|
2022-03-01 16:17:36 +03:00
|
|
|
networks:
|
|
|
|
- gotosocial
|
|
|
|
environment:
|
2024-10-13 22:51:31 +03:00
|
|
|
# Change this to your actual host value.
|
2022-04-19 13:45:54 +03:00
|
|
|
GTS_HOST: example.org
|
|
|
|
GTS_DB_TYPE: sqlite
|
2024-10-13 22:51:31 +03:00
|
|
|
# Path in the GtS Docker container where
|
|
|
|
# the sqlite.db file will be stored.
|
2022-04-19 13:45:54 +03:00
|
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
2024-10-13 22:51:31 +03:00
|
|
|
# Change this to true if you're not running
|
|
|
|
# GoToSocial behind a reverse proxy.
|
2022-04-19 13:45:54 +03:00
|
|
|
GTS_LETSENCRYPT_ENABLED: "false"
|
2024-10-13 22:51:31 +03:00
|
|
|
# Set your email address here if you
|
|
|
|
# want to receive letsencrypt notices.
|
2022-04-19 13:45:54 +03:00
|
|
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
2024-10-13 22:51:31 +03:00
|
|
|
# Path in the GtS Docker container where the
|
|
|
|
# Wazero compilation cache will be stored.
|
|
|
|
GTS_WAZERO_COMPILATION_CACHE: /gotosocial/.cache
|
2022-11-23 18:10:56 +03:00
|
|
|
## For reverse proxy setups:
|
|
|
|
# GTS_TRUSTED_PROXIES: "172.x.x.x"
|
2023-08-01 15:47:53 +03:00
|
|
|
## Set the timezone of your server:
|
|
|
|
#TZ: UTC
|
2022-04-19 13:45:54 +03:00
|
|
|
ports:
|
|
|
|
- "443:8080"
|
2022-11-23 18:10:56 +03:00
|
|
|
## For letsencrypt:
|
2022-04-19 13:45:54 +03:00
|
|
|
#- "80:80"
|
2022-11-23 18:10:56 +03:00
|
|
|
## For reverse proxy setups:
|
|
|
|
#- "127.0.0.1:8080:8080"
|
2022-03-01 16:17:36 +03:00
|
|
|
volumes:
|
2024-10-13 22:51:31 +03:00
|
|
|
# Your data volume, for your
|
|
|
|
# sqlite.db file and media files.
|
2022-04-19 13:45:54 +03:00
|
|
|
- ~/gotosocial/data:/gotosocial/storage
|
2024-10-13 22:51:31 +03:00
|
|
|
# OPTIONAL: To mount volume for the WAZERO
|
|
|
|
# compilation cache, for speedier restart
|
|
|
|
# times, uncomment the below line:
|
|
|
|
#- ~/gotosocial/.cache:/gotosocial/.cache
|
2022-03-01 16:17:36 +03:00
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gotosocial:
|
|
|
|
ipam:
|
2022-04-19 13:45:54 +03:00
|
|
|
driver: default
|