From a4953ee83a85cc8946f6dcfa92d3defda182353a Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 2 Oct 2023 12:53:24 +0530 Subject: [PATCH] fix: listen on 80 --- targets/gotosocial/data/config/config.yaml | 2 +- targets/gotosocial/docker-compose.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/gotosocial/data/config/config.yaml b/targets/gotosocial/data/config/config.yaml index a574bac..b377381 100644 --- a/targets/gotosocial/data/config/config.yaml +++ b/targets/gotosocial/data/config/config.yaml @@ -113,7 +113,7 @@ bind-address: "0.0.0.0" # This *MUST NOT* be the same as the letsencrypt port specified below, unless letsencrypt is turned off. # Examples: [443, 6666, 8080] # Default: 8080 -port: 8080 +port: 80 # Array of string. CIDRs or IP addresses of proxies that should be trusted when determining real client IP from behind a reverse proxy. # If you're running inside a Docker container behind Traefik or Nginx, for example, add the subnet of your docker network, diff --git a/targets/gotosocial/docker-compose.yaml b/targets/gotosocial/docker-compose.yaml index 24f9892..9beb3e4 100644 --- a/targets/gotosocial/docker-compose.yaml +++ b/targets/gotosocial/docker-compose.yaml @@ -11,8 +11,8 @@ services: - | /gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \ admin account create \ - --username some_username \ - --email someone@example.org \ + --username alice \ + --email alice@example.org \ --password 'some_very_good_password' /gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \ server start @@ -25,7 +25,7 @@ services: GTS_LETSENCRYPT_EMAIL_ADDRESS: "" TZ: Asia/Kolkata ports: - - "3080:8080" + - "3080:80" volumes: - ./data/config:/gotosocial/config