Viewing a single comment thread. View all comments

astroaron OP wrote

Hi! Slow going (not overly difficult, just real life keeps interfering.), but I've just finished step 3 of part 1, and have my hello world page! I'm a bit confused by Json vs Caddyfile. When I used JSON in caddy and checked with localhost I had the hello world page on one port and the default caddy splash page on my main port. However, when I tried setting it up using a caddyfile, I only got the hello world page on the port, got a refusal to connect on my main port. Do you have any idea why there would be that difference in behaviour?

was following this tutorial

(hoping to get confident enough with caddy to try setting up postmill this coming week! We'll see how it goes!)

2

twovests wrote

Hi! I missed this earlier.

Can you tell me what ports specifically these were on, and were you trying to connect to a Caddy server running locally (i.e. at localhost:1234) or somewhere else?

1

astroaron OP wrote

The tutorial has me use ports 2019 and 2015 (this is all being done locally), with the hello-world showing up on port 2015.

(pushing ahead, I'm looking to get the postmill images as outlined here. When I try to clone it, it says permission denied. This feels like an issue that anyone with some experience with git would not run in to. Am I missing something obvious)

Thank you for all of your help!

2

twovests wrote

Hi, are you in the Postmill directory?

git clone git@codeberg.org:Postmill/Postmill.git
cd Postmill
docker build -t registry.postmill.xyz/postmill/postmill:php-latest --target postmill_php .
docker build -t registry.postmill.xyz/postmill/postmill:web-latest --target postmill_web .

IIRC, these docker build commands look inside the current directory for a matching Dockerfile. It's strange, but the url registry.postmill.xyz/postmill/postmill:php-latest is an identifier.

1