fix: listen on 80

This commit is contained in:
Aravinth Manivannan 2023-10-02 12:53:24 +05:30
parent f9d2a48a6a
commit a4953ee83a
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 4 additions and 4 deletions

View file

@ -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. # This *MUST NOT* be the same as the letsencrypt port specified below, unless letsencrypt is turned off.
# Examples: [443, 6666, 8080] # Examples: [443, 6666, 8080]
# Default: 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. # 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, # If you're running inside a Docker container behind Traefik or Nginx, for example, add the subnet of your docker network,

View file

@ -11,8 +11,8 @@ services:
- | - |
/gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \ /gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \
admin account create \ admin account create \
--username some_username \ --username alice \
--email someone@example.org \ --email alice@example.org \
--password 'some_very_good_password' --password 'some_very_good_password'
/gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \ /gotosocial/gotosocial --config-path /gotosocial/config/config.yaml \
server start server start
@ -25,7 +25,7 @@ services:
GTS_LETSENCRYPT_EMAIL_ADDRESS: "" GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
TZ: Asia/Kolkata TZ: Asia/Kolkata
ports: ports:
- "3080:8080" - "3080:80"
volumes: volumes:
- ./data/config:/gotosocial/config - ./data/config:/gotosocial/config