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