Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compile quickstart failing #208

Closed
gedw99 opened this issue Sep 5, 2022 · 1 comment
Closed

docker compile quickstart failing #208

gedw99 opened this issue Sep 5, 2022 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Sep 5, 2022

docker-compose -f deploy/docker-compose/quickstart.yaml -p "hanko-quickstart" up --build

...


hanko-quickstart-postgresd-1      | 
hanko-quickstart-postgresd-1      | PostgreSQL Database directory appears to contain a database; Skipping initialization
hanko-quickstart-postgresd-1      | 
hanko-quickstart-example-1        | 
hanko-quickstart-example-1        |    ____    __
hanko-quickstart-example-1        |   / __/___/ /  ___
hanko-quickstart-example-1        |  / _// __/ _ \/ _ \
hanko-quickstart-example-1        | /___/\__/_//_/\___/ v4.7.2
hanko-quickstart-example-1        | High performance, minimalist Go web framework
hanko-quickstart-example-1        | https://echo.labstack.com
hanko-quickstart-example-1        | ____________________________________O/_______
hanko-quickstart-example-1        |                                     O\
hanko-quickstart-example-1        | ⇨ http server started on [::]:8080
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
hanko-quickstart-hankojs-1        | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="Starting MailSlurper Server v1.14.1" who=MailSlurper
hanko-quickstart-hankojs-1        | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="Connecting to database" who=MailSlurper
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="Creating database tables..." who=MailSlurper
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
hanko-quickstart-hankojs-1        | /docker-entrypoint.sh: Configuration complete; ready for start up
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.743 UTC [1] LOG:  starting PostgreSQL 12.12 on x86_64-pc-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.743 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.743 UTC [1] LOG:  listening on IPv6 address "::", port 5432
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.760 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: using the "epoll" event method
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: nginx/1.22.0
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: built by gcc 11.2.1 20220219 (Alpine 11.2.1_git20220219) 
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: OS: Linux 5.15.37-0-virt
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: start worker processes
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: start worker process 32
hanko-quickstart-hankojs-1        | 2022/09/05 11:21:17 [notice] 1#1: start worker process 33
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="Created tables successfully." who=MailSlurper
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="Worker pool configured for 1000 workers" who="SMTP Server Pool"
hanko-quickstart-mailslurper-1    | ⇨ http server started on [::]:8080
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="SMTP listener running on 0.0.0.0:2500" who="SMTP Listener"
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="1 receiver(s) listening" who="SMTP Listener"
hanko-quickstart-mailslurper-1    | time="2022-09-05T11:21:17Z" level=info msg="HTTP admin listener running on 0.0.0.0:8080" who=MailSlurper
hanko-quickstart-mailslurper-1    | ⇨ http server started on [::]:8085
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.892 UTC [23] LOG:  database system was shut down at 2022-09-05 11:20:59 UTC
hanko-quickstart-postgresd-1      | 2022-09-05 11:21:17.913 UTC [1] LOG:  database system is ready to accept connections
hanko-quickstart-hanko-migrate-1  | 2022/09/05 11:21:28 Using config file: /etc/config/config.yaml
hanko-quickstart-hanko-migrate-1  | 2022/09/05 11:21:28 migrate up
hanko-quickstart-hanko-migrate-1  | [POP] 2022/09/05 11:21:28 info - Migrations already up to date, nothing to apply
hanko-quickstart-hanko-migrate-1  | [POP] 2022/09/05 11:21:28 info - 0.2065 seconds
hanko-quickstart-hanko-migrate-1 exited with code 0
hanko-quickstart-hanko-1          | 2022/09/05 11:21:29 Using config file: /etc/config/config.yaml
hanko-quickstart-hanko-1          | ⇨ http server started on [::]:8001
hanko-quickstart-hanko-1          | ⇨ http server started on [::]:8000
hanko-quickstart-hanko-1          | {"time":"2022-09-05T11:21:37.976606509Z","time_unix":"1662376897","id":"qhPXhioIX0yCpH95nPcXKCWRKdNTirqR","remote_ip":"172.22.0.1","host":"localhost:8000","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","status":404,"error":"code=404, message=Not Found","latency":659000,"latency_human":"659µs","bytes_in":0,"bytes_out":35,"referer":""}
hanko-quickstart-hanko-1          | {"time":"2022-09-05T11:21:39.820462509Z","time_unix":"1662376899","id":"4IKln0XfdJ8cgY0glZAYAfZQInC1Fxkn","remote_ip":"172.22.0.1","host":"localhost:8000","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","status":404,"error":"code=404, message=Not Found","latency":94000,"latency_human":"94µs","bytes_in":0,"bytes_out":35,"referer":""}
hanko-quickstart-hanko-1          | {"time":"2022-09-05T11:21:52.372038509Z","time_unix":"1662376912","id":"xxPeBwdrO2tsGpn2UK9hKzblzq7ONeLf","remote_ip":"172.22.0.1","host":"localhost:8001","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","status":404,"error":"code=404, message=Not Found","latency":3302000,"latency_human":"3.302ms","bytes_in":0,"bytes_out":24,"referer":""}
hanko-quickstart-hanko-1          | {"time":"2022-09-05T11:21:52.912402509Z","time_unix":"1662376912","id":"XfMZwmQ3Q8H2N1WTcXfOjO7W0BwRAC5n","remote_ip":"172.22.0.1","host":"localhost:8001","method":"GET","uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","status":404,"error":"code=404, message=Not Found","latency":65000,"latency_human":"65µs","bytes_in":0,"bytes_out":24,"referer":"http:https://localhost:8001/"}
hanko-quickstart-hanko-1          | {"time":"2022-09-05T11:23:20.835662509Z","time_unix":"1662377000","id":"hdX0inp1vFCjzVAADVrbIhqM3EWVZfGx","remote_ip":"172.22.0.1","host":"localhost:8000","method":"GET","uri":"/","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","status":404,"error":"code=404, message=Not Found","latency":88000,"latency_human":"88µs","bytes_in":0,"bytes_out":35,"referer":""}

Broswer:

http:https://localhost:8000/
{"code":404,"message":"Not Found"}

@lfleischmann
Copy link
Member

lfleischmann commented Sep 5, 2022

Hi @gedw99,

looks like the services start up properly. The root/base http:https://localhost:8000/ is simply not mapped/handled right now, hence the 404. You can view a list of mapped endpoints/available resources here.

In case you intended to view the example application login page using the web-component: that one should be available on http:https://localhost:8888 when using the docker compose quickstart.

@FlxMgdnz FlxMgdnz changed the title cocker compile quickstart failing docker compile quickstart failing Sep 5, 2022
@FlxMgdnz FlxMgdnz closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants