2022-03-01 14:17:36 +01:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
gotosocial:
|
2022-04-19 12:45:54 +02:00
|
|
|
image: superseriousbusiness/gotosocial:latest
|
|
|
|
container_name: gotosocial
|
|
|
|
user: 1000:1000
|
2022-03-01 14:17:36 +01:00
|
|
|
networks:
|
|
|
|
- gotosocial
|
|
|
|
environment:
|
2022-04-19 12:45:54 +02: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 16:10:56 +01:00
|
|
|
## For reverse proxy setups:
|
|
|
|
# GTS_TRUSTED_PROXIES: "172.x.x.x"
|
2023-08-01 14:47:53 +02:00
|
|
|
## Set the timezone of your server:
|
|
|
|
#TZ: UTC
|
2022-04-19 12:45:54 +02:00
|
|
|
ports:
|
|
|
|
- "443:8080"
|
2022-11-23 16:10:56 +01:00
|
|
|
## For letsencrypt:
|
2022-04-19 12:45:54 +02:00
|
|
|
#- "80:80"
|
2022-11-23 16:10:56 +01:00
|
|
|
## For reverse proxy setups:
|
|
|
|
#- "127.0.0.1:8080:8080"
|
2022-03-01 14:17:36 +01:00
|
|
|
volumes:
|
2022-04-19 12:45:54 +02:00
|
|
|
- ~/gotosocial/data:/gotosocial/storage
|
2022-03-01 14:17:36 +01:00
|
|
|
restart: "always"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
gotosocial:
|
|
|
|
ipam:
|
2022-04-19 12:45:54 +02:00
|
|
|
driver: default
|