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:
|
2024-10-13 19:51:31 +00:00
|
|
|
# Change this to your actual host value.
|
2022-04-19 10:45:54 +00:00
|
|
|
GTS_HOST: example.org
|
|
|
|
GTS_DB_TYPE: sqlite
|
2024-10-13 19:51:31 +00:00
|
|
|
# Path in the GtS Docker container where
|
|
|
|
# the sqlite.db file will be stored.
|
2022-04-19 10:45:54 +00:00
|
|
|
GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
|
2024-10-13 19:51:31 +00:00
|
|
|
# Change this to true if you're not running
|
|
|
|
# GoToSocial behind a reverse proxy.
|
2022-04-19 10:45:54 +00:00
|
|
|
GTS_LETSENCRYPT_ENABLED: "false"
|
2024-10-13 19:51:31 +00:00
|
|
|
# Set your email address here if you
|
|
|
|
# want to receive letsencrypt notices.
|
2022-04-19 10:45:54 +00:00
|
|
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
2024-10-13 19:51:31 +00:00
|
|
|
# Path in the GtS Docker container where the
|
|
|
|
# Wazero compilation cache will be stored.
|
|
|
|
GTS_WAZERO_COMPILATION_CACHE: /gotosocial/.cache
|
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:
|
2024-10-13 19:51:31 +00:00
|
|
|
# Your data volume, for your
|
|
|
|
# sqlite.db file and media files.
|
2022-04-19 10:45:54 +00:00
|
|
|
- ~/gotosocial/data:/gotosocial/storage
|
2024-10-13 19:51:31 +00: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 13:17:36 +00:00
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gotosocial:
|
|
|
|
ipam:
|
2022-04-19 10:45:54 +00:00
|
|
|
driver: default
|