Can't access the Odk Server using docker-compose version locally

Hi Everyone,

I just cloned the repo https://github.com/getodk/central and followed every single step to run the docker-compose on my machine (Windows 10 using WSL2 ).
Every service seems OK, I don't see any error and here is the way to setup my .env

# Use fully qualified domain names. Set to DOMAIN=local if SSL_TYPE=selfsign.
DOMAIN=local

# Used for Let's Encrypt expiration emails and Enketo technical support emails
SYSADMIN_EMAIL= xxxxxx.com

# Options: letsencrypt, customssl, upstream, selfsign
SSL_TYPE=selfsign

# Do not change if using SSL_TYPE=letsencrypt
HTTP_PORT=8099
HTTPS_PORT=443

However, when I try to access the http://localhost:8099/, I got421 Misdirected Request.

What wrong with the way I set my system?

thanks,

Jdang

You can take a look at a showcase shared by @MinimalPotato

1 Like