Similarly, the Docker installation all images are hosted in the docker hub https://hub.docker.com/u/6kare address.
On container start, the default domain is automatically created with "admin@emakin.com" user and "admin" password. The application can be accessed from http://localhost address, and the host administration settings can be accessed from http://localhost/hostadm address.
Running with Non-Root User
Docker images are executed with a non-root “emakin” user but the emakin agent executable uses these ports by default.
80, 443 - Web service
25, 587, 465 - SMTP service
These ports require the root permission if not configured and the service may fail to start up.
Overriding Default Configuration
Change Default Web Server Ports
Define the following environment variables to override web service listening ports.
AK_Web__Kestrel__Endpoints__Http__Url=http://*:8080 AK_Web__Kestrel__Endpoints__Https__Url=http://*:8443
Disable SMTP Service
AK_Smtp_Enabled=false
Change Deployment Security Context
Edit the “emakin.deployment.yaml” file with the following changes.
apiVersion: apps/v1 kind: Deployment spec: template: spec: containers: image: 6kare/emakin:8.0.112 securityContext: capabilities: add: - NET_BIND_SERVICE securityContext: sysctls: - name: net.ipv4.ip_unprivileged_port_start value: '0'