Docker image ignores config?
Closed this issue · 1 comments
arrowcircle commented
Hi!
I tried to run latest version via docker, but it looks like it totally ignores config. I got sample config and changed port and credentials, after running it poxa runs with default parameters:
poxa.conf:
# HTTP Port
# If not set, will use value of PORT environment variable
poxa.port = 8081
# Pusher app key
# If not set, will use value of POXA_APP_KEY environment variable
poxa.app_key = "app1_key"
# Pusher secret
# If not set, will use value of POXA_SECRET environment variable
poxa.app_secret = "secre1t"
# Pusher app id
# If not set, will use value of POXA_APP_ID environment variable
poxa.app_id = "app_id1"
# Registry adapter
# If not set, will use value of POXA_REGISTRY_ADAPTER environment variable
poxa.registry_adapter = "gproc"
# Web hook endpoint
# If not set, will use value of WEB_HOOK environment variable
# poxa.web_hook =
# HTTPS switch
# If not set, will use value of POXA_SSL environment variable
poxa.ssl.enabled = false
# HTTPS port
# If not set, will use value of SSL_PORT environment variable
# poxa.ssl.port =
# PEM-encoded CA certificate path
# If not set, will use value of SSL_CACERTFILE environment variable
# poxa.ssl.cacertfile =
# Path to user certificate
# If not set, will use value of SSL_CERTFILE environment variable
# poxa.ssl.certfile =
# Path to the file containing the user's private PEM-encoded key
# If not set, will use value of SSL_KEYFILE environment variable
# poxa.ssl.keyfile =
docker run:
docker run --rm --name poxa -p 8081:8081 -v $PWD/poxa.conf:/app/poxa/running-config/poxa.conf edgurgel/poxa-automated:latest
log from container:
Unable to find image 'edgurgel/poxa-automated:latest' locally
latest: Pulling from edgurgel/poxa-automated
a073c86ecf9e: Pull complete
422020dc4c03: Pull complete
6a03deb8f440: Pull complete
Digest: sha256:a78d0f8819a8bdf9075ead86e747f43c6db60948fb84557e20a4d9e8fee990bb
Status: Downloaded newer image for edgurgel/poxa-automated:latest
==> Generated sys.config in /app/poxa/var
07:29:25.991 [info] Starting Poxa, app_id: app_id on port 8080
07:29:25.993 [info] SSL not configured/started
What I doing wrong?