Skip to content

How to use https with partDB from Docker #1

@JMBeo

Description

@JMBeo

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:
- partdb-database:/var/lib/mysql
environment:
# Set MYSQL_ROOT_PASSWORD to a unique password!!
MYSQL_ROOT_PASSWORD: xxxxxxxxx
MYSQL_DATABASE: partdb
restart: always`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions