Nieuwe Status: Opgelost /f/image/P18xyF9mESGPnE12TEZxc1yx.png?f=fotoalbum_large)
Nee, ik heb niet het hele internet nagelezen voordat ik het hier vraag aan iemand, dus als dat de strekking van je antwoord gaat zijn, dan zeg gewoon niets. Ja ik heb google, gemini, copilot, chatGPT, StackExchange, en diverse andere bronnen die ook kan raadplegen. Maar die/dat vraag ik allemaal niet nu.
Usecase: Discourse op LAN, met exposed netwerk functionaliteit via A-record, achter NGINX Proxy Manager, op dezelfde host als de container van NPM zelf.
Huidige situatie: IP adres met exposed poort laat de eerste pagina's van Discourse installatie procedure zien, maar de domeinnaam is nog niet goed gekoppeld en doorgestuurd kennelijk want ik krijg timeouts en het werkt kortom niet zoals ik hoopte.
Wat werkt niet?
De koppeling tussen LAN IP en extern domein - voor wie er blij van wordt, IP betreft 192.168.100.81 - waar mijn NPM op draait.
Docker laat dit zien:
discourse app.yaml is als volgt:
Status is de volgende:
/f/image/C0wH5Ijuj3yYQW0DtCVAkKDG.png?f=fotoalbum_large)
Waar het wellicht mis gaat, de lijm tussen de LAN-host/poort en de NPM-proxy.:fill(white):strip_exif()/f/image/zzg6cV4o4233m9R4vAGPmk67.png?f=user_large)
De Discourse verstuurt wel een mailtje, maar komt letterlijk alleen niet verder op het beoogde domeinnaam/host. En het vermoeden bestaat dus dat ik iets 'heel simpels' over het hoofd zie in mijn NPM.
Daarbij zoek ik dus nu assistentie. Wellicht heeft iemand dit al gedaan. Kortom, wat mis ik hier?
En zou ik mezelf een boel ellende kunnen besparen door eventjes in te tappen op het collectief in plaats van jarenlang dingen zelfstandig en alleen uit te zoeken omdat ik anders bang ben dat ik genadeloos afgefakkeld word met hoe dom ik wel niet ben dat ik iets niet zou snappen
/f/image/P18xyF9mESGPnE12TEZxc1yx.png?f=fotoalbum_large)
Nee, ik heb niet het hele internet nagelezen voordat ik het hier vraag aan iemand, dus als dat de strekking van je antwoord gaat zijn, dan zeg gewoon niets. Ja ik heb google, gemini, copilot, chatGPT, StackExchange, en diverse andere bronnen die ook kan raadplegen. Maar die/dat vraag ik allemaal niet nu.
Usecase: Discourse op LAN, met exposed netwerk functionaliteit via A-record, achter NGINX Proxy Manager, op dezelfde host als de container van NPM zelf.
Huidige situatie: IP adres met exposed poort laat de eerste pagina's van Discourse installatie procedure zien, maar de domeinnaam is nog niet goed gekoppeld en doorgestuurd kennelijk want ik krijg timeouts en het werkt kortom niet zoals ik hoopte.
Wat werkt niet?
De koppeling tussen LAN IP en extern domein - voor wie er blij van wordt, IP betreft 192.168.100.81 - waar mijn NPM op draait.
Docker laat dit zien:
code:
1
2
3
4
| root@webproxy:/home/escovan# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3638cec157a3 local_discourse/app "/sbin/boot" 7 hours ago Up 7 hours 0.0.0.0:15920->80/tcp, [::]:15920->80/tcp app 9ab84e88aa3d jc21/nginx-proxy-manager:latest "/init" 2 weeks ago Up 2 weeks 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/ |
discourse app.yaml is als volgt:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
| root@webproxy:/home/escovan# cat discourse/containers/app.yml ## this is the all-in-one, standalone Discourse Docker container template ## ## After making changes to this file, you MUST rebuild ## /var/discourse/launcher rebuild app ## ## BE *VERY* CAREFUL WHEN EDITING! ## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT! ## visit http://www.yamllint.com/ to validate this file as needed templates: - "templates/postgres.template.yml" - "templates/redis.template.yml" - "templates/web.template.yml" ## Uncomment the next line to enable the IPv6 listener #- "templates/web.ipv6.template.yml" #- "templates/web.ratelimited.template.yml" ## Uncomment these two lines if you wish to add Lets Encrypt (https) #- "templates/web.ssl.template.yml" #- "templates/web.letsencrypt.ssl.template.yml" #- "templates/web.socketed.template.yml" ## which TCP/IP ports should this container expose? ## If you want Discourse to share a port with another webserver like Apache or nginx, ## see https://meta.discourse.org/t/17247 for details expose: - "15920:80" # http # - "443:443" # https params: db_default_text_search_config: "pg_catalog.english" ## Set db_shared_buffers to a max of 25% of the total memory. ## will be set automatically by bootstrap based on detected RAM, or you can override db_shared_buffers: "2048MB" ## can improve sorting performance, but adds memory usage per-connection #db_work_mem: "40MB" ## Which Git revision should this container use? (default: tests-passed) version: tests-passed #upload_size: 100m env: LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 LANGUAGE: en_US.UTF-8 # DISCOURSE_DEFAULT_LOCALE: en ## How many concurrent web requests are supported? Depends on memory and CPU cores. ## will be set automatically by bootstrap based on detected CPUs, or you can override #UNICORN_WORKERS: 3 ## TODO: The domain name this Discourse instance will respond to ## Required. Discourse will not work with a bare IP number. DISCOURSE_HOSTNAME: 'nest.netpal.nl' ## Uncomment if you want the container to be started with the same ## hostname (-h option) as specified above (default "$hostname-$config") #DOCKER_USE_HOSTNAME: true ## TODO: List of comma delimited emails that will be made admin and developer ## on initial signup example 'user1@example.com,user2@example.com' DISCOURSE_DEVELOPER_EMAILS: '*knip*' ## TODO: The SMTP mail server used to validate new accounts and send notifications # SMTP ADDRESS, username, and password are required # WARNING the char '#' in SMTP password can cause problems! DISCOURSE_SMTP_ADDRESS: *knip* DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_USER_NAME: *knip* DISCOURSE_SMTP_PASSWORD: "*knip*" #DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true) DISCOURSE_SMTP_DOMAIN: *knip* # (required by some providers) DISCOURSE_NOTIFICATION_EMAIL: *knip* # (address to send notifications from) ## If you added the Lets Encrypt template, uncomment below to get a free SSL certificate LETSENCRYPT_ACCOUNT_EMAIL: *knip* ## The http or https CDN address for this Discourse instance (configured to pull) ## see https://meta.discourse.org/t/14857 for details #DISCOURSE_CDN_URL: https://discourse-cdn.example.com #DISCOURSE_FORCE_HTTPS: true ## The maxmind geolocation IP account ID and license key for IP address lookups ## see https://meta.discourse.org/t/-/173941 for details DISCOURSE_MAXMIND_ACCOUNT_ID: *knip* DISCOURSE_MAXMIND_LICENSE_KEY: *knip* ## The Docker container is stateless; all data is stored in /shared volumes: - volume: host: /home/escovan/discourse/shared/standalone guest: /shared - volume: host: /home/escovan/shared/standalone/log/var-log guest: /var/log ## Plugins go here ## see https://meta.discourse.org/t/19157 for details hooks: after_code: - exec: cd: $home/plugins cmd: - git clone https://github.com/discourse/docker_manager.git ## Any custom commands to run after building run: - exec: echo "Beginning of custom commands" ## If you want to set the 'From' email address for your first registration, uncomment and change: ## After getting the first signup email, re-comment the line. It only needs to run once. #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'" - exec: echo "End of custom commands" |
Status is de volgende:
/f/image/C0wH5Ijuj3yYQW0DtCVAkKDG.png?f=fotoalbum_large)
Waar het wellicht mis gaat, de lijm tussen de LAN-host/poort en de NPM-proxy.
:fill(white):strip_exif()/f/image/zzg6cV4o4233m9R4vAGPmk67.png?f=user_large)
De Discourse verstuurt wel een mailtje, maar komt letterlijk alleen niet verder op het beoogde domeinnaam/host. En het vermoeden bestaat dus dat ik iets 'heel simpels' over het hoofd zie in mijn NPM.
Daarbij zoek ik dus nu assistentie. Wellicht heeft iemand dit al gedaan. Kortom, wat mis ik hier?
En zou ik mezelf een boel ellende kunnen besparen door eventjes in te tappen op het collectief in plaats van jarenlang dingen zelfstandig en alleen uit te zoeken omdat ik anders bang ben dat ik genadeloos afgefakkeld word met hoe dom ik wel niet ben dat ik iets niet zou snappen

[ Voor 2% gewijzigd door Ulysses op 11-10-2024 11:52 . Reden: Opgelost. Fixed. Klaar. Dank u. ]
Het leven is als koffie: heel lekker, maar veel te duur en zo weer op.