Part-DB / Part-DB-docker

[LEGACY] Docker composer files to run Part-DB easily.
11 stars 2 forks source link

How to use https with partDB from Docker #1

Open JMBeo opened 3 years ago

JMBeo commented 3 years ago

Hello I`m running partDB with Docker using the stable composed file serverd here in the repo. partDB is running fine but the container is not reachable by https requests.

to link to the https requests I insert in the port part:

"192.168.X.X:8899:80"
"192.168.X.X:8844:443"

requesting 192.168.X.X:8899 is good but only http

Did i need to generate a certifciate inside the container? How to enable https for the container? I didn´t find any dokumentaion handling https request.

Attached my composed file: `version: '3' services: partdb: image: jbtronics/part-db:stable ports:

Replace 8888 with the port, under which Part-DB should appear

  - "192.168.X.X:8899:80"
  - "192.168.X.X:8844:443"
depends_on:
  - database
volumes:
  - partdb-data:/var/www/html/data
restart: always

database: image: mariadb:latest volumes:

JMBeo commented 3 years ago

Aktuelle versuche ich https bei dem container zum laufen zu bekommen. Leider ist mir nicht ganz klar wie das hier ungestetzt werden soll. Erwartet hab ich das ich den Port freischalten und dann irgendwo das Zertifikat defenieren kann. Ich hab Leider nichts gefunden wo ich für diesen Container ein Zertifikat(self signed or letsEncrypt) hinterlegen kann.