SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 471 forks source link

Examples not working on Ubuntu 18.04 bionic / docker 18.09.7 #2230

Closed ThibaultMontaufray closed 5 years ago

ThibaultMontaufray commented 5 years ago

Description

the communication between portus and db never works

Steps to reproduce

  1. on a brand new formated ubuntu
  2. after installing docker-ce
  3. clone the repo
  4. docker-compose up -d

docker logs portus_db_1 : [...] 190904 6:28:08 [Note] mysqld: ready for connections. Version: '10.0.23-MariaDB-1~jessie' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

docker logs portus_portus_1 : [...] [WARN] couldn't connect to database. Skipping PublicActivity::Activity#parameters's serialization Waiting for mariadb to be ready in 5 seconds

Tell me if you need more logs / details, I've check a lot of similar issues but none of them helps.

ThibaultMontaufray commented 5 years ago

My bad, I forget to update the nginx config file with my host fqdn.