* feat(actual-budget): change config to support local domain * feat(adguard): change config to support local domain * feat(autobrr): change config to support local domain * feat(barrage): change config to support local domain * feat(bazarr): change config to support local domain * feat(booksonic): change config to support local domain * feat(bookstack): change config to support local domain * feat(calibre-web): change config to support local domain * feat(chatgpt-ui): change config to support local domain * feat(chatpad): change config to support local domain * feat(code-server): change config to support local domain * feat(codex-docs): change config to support local domain * feat(dailytxt): change config to support local domain * feat(dashdot): change config to support local domain * feat(deemix): change config to support local domain * feat(deluge): change config to support local domain * feat(dokuwiki): change config to support local domain * feat(dozzle): change config to support local domain * feat(duplicati): change config to support local domain * feat(emulatorjs): change config to support local domain * feat(excalidraw): change config to support local domain * feat(filebrowser): change config to support local domain * feat(filestash): change config to support local domain * feat(firefly-iii): change config to support local domain * feat(fireshare): change config to support local domain * feat(flatnotes): change config to support local domain * feat(freshrss): change config to support local domain * feat(ghost): change config to support local domain * feat(gitea): change config to support local domain * feat(gotify): change config to support local domain * feat(gotosocial): change config to support local domain * feat(grafana): change config to support local domain * feat(grav): change config to support local domain * feat(grocy): change config to support local domain
		
			
				
	
	
		
			71 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
version: "3"
 | 
						|
 | 
						|
services:
 | 
						|
  gotosocial:
 | 
						|
    container_name: gotosocial
 | 
						|
    image: superseriousbusiness/gotosocial:0.9.0
 | 
						|
    user: 1000:1000
 | 
						|
    ports:
 | 
						|
      - ${APP_PORT}:8080
 | 
						|
    volumes:
 | 
						|
      - ${APP_DATA_DIR}/data/gotosocial:/gotosocial/storage
 | 
						|
    depends_on:
 | 
						|
      - gotosocial-db
 | 
						|
    environment:
 | 
						|
      - GTS_HOST=${APP_DOMAIN}
 | 
						|
      - GTS_LETSENCRYPT_ENABLED=false
 | 
						|
      - GTS_DB_TYPE=postgres
 | 
						|
      - GTS_DB_ADDRESS=gotosocial-db
 | 
						|
      - GTS_DB_PORT=5432
 | 
						|
      - GTS_DB_USER=tipi
 | 
						|
      - GTS_DB_PASSWORD=${GTS_DB_PASSWORD}
 | 
						|
      - GTS_DB_DATABASE=gotosocial-db
 | 
						|
      - GTS_ACCOUNTS_REGISTRATION_OPEN=${GTS_ACCOUNTS_REGISTRATION_OPEN}
 | 
						|
      - GTS_SMTP_HOST=${GTS_SMTP_HOST}
 | 
						|
      - GTS_SMTP_PORT=${GTS_SMTP_PORT}
 | 
						|
      - GTS_SMTP_USERNAME=${GTS_SMTP_USERNAME}
 | 
						|
      - GTS_SMTP_PASSWORD=${GTS_SMTP_PASSWORD}
 | 
						|
      - GTS_SMTP_FROM=${GTS_SMTP_FROM}
 | 
						|
    restart: unless-stopped
 | 
						|
    networks:
 | 
						|
      - tipi_main_network
 | 
						|
    labels:
 | 
						|
      # Main
 | 
						|
      traefik.enable: true
 | 
						|
      traefik.http.middlewares.gotosocial-web-redirect.redirectscheme.scheme: https
 | 
						|
      traefik.http.services.gotosocial.loadbalancer.server.port: 8080
 | 
						|
      # Web
 | 
						|
      traefik.http.routers.gotosocial-insecure.rule: Host(`${APP_DOMAIN}`)
 | 
						|
      traefik.http.routers.gotosocial-insecure.entrypoints: web
 | 
						|
      traefik.http.routers.gotosocial-insecure.service: gotosocial
 | 
						|
      traefik.http.routers.gotosocial-insecure.middlewares: gotosocial-web-redirect
 | 
						|
      # Websecure
 | 
						|
      traefik.http.routers.gotosocial.rule: Host(`${APP_DOMAIN}`)
 | 
						|
      traefik.http.routers.gotosocial.entrypoints: websecure
 | 
						|
      traefik.http.routers.gotosocial.service: gotosocial
 | 
						|
      traefik.http.routers.gotosocial.tls.certresolver: myresolver
 | 
						|
      # Local domain
 | 
						|
      traefik.http.routers.gotosocial-local-insecure.rule: Host(`gotosocial.${LOCAL_DOMAIN}`)
 | 
						|
      traefik.http.routers.gotosocial-local-insecure.entrypoints: web
 | 
						|
      traefik.http.routers.gotosocial-local-insecure.service: gotosocial
 | 
						|
      traefik.http.routers.gotosocial-local-insecure.middlewares: gotosocial-web-redirect
 | 
						|
      # Local domain secure
 | 
						|
      traefik.http.routers.gotosocial-local.rule: Host(`gotosocial.${LOCAL_DOMAIN}`)
 | 
						|
      traefik.http.routers.gotosocial-local.entrypoints: websecure
 | 
						|
      traefik.http.routers.gotosocial-local.service: gotosocial
 | 
						|
      traefik.http.routers.gotosocial-local.tls: true
 | 
						|
 | 
						|
  gotosocial-db:
 | 
						|
    container_name: gotosocial-db
 | 
						|
    image: postgres:14
 | 
						|
    environment:
 | 
						|
      POSTGRES_PASSWORD: ${GTS_DB_PASSWORD}
 | 
						|
      POSTGRES_USER: tipi
 | 
						|
      POSTGRES_DB: gotosocial-db
 | 
						|
      PG_DATA: /var/lib/postgresql/data
 | 
						|
    volumes:
 | 
						|
      - ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
 | 
						|
    restart: unless-stopped
 | 
						|
    networks:
 | 
						|
      - tipi_main_network
 |