diff --git a/dockerhub.sh b/dockerhub.sh index b03aeea..b61e724 100644 --- a/dockerhub.sh +++ b/dockerhub.sh @@ -38,16 +38,6 @@ CARGO_SERVER_SSL_CA_BASE64=$(echo "$CARGO_SERVER_SSL_CA" | base64 -w 0) CARGO_SERVER_SSL_CERT_BASE64=$(echo "$CARGO_SERVER_SSL_CERT" | base64 -w 0) CARGO_SERVER_SSL_KEY_BASE64=$(echo "$CARGO_SERVER_SSL_KEY" | base64 -w 0) -# Alpine -# docker buildx build --push --build-arg TAGORELAY_VERSION=${FULL_VERSION} \ -# --build-arg CARGO_SERVER_SSL_CA=${CARGO_SERVER_SSL_CA_BASE64} \ -# --build-arg CARGO_SERVER_SSL_CERT=${CARGO_SERVER_SSL_CERT_BASE64} \ -# --build-arg CARGO_SERVER_SSL_KEY=${CARGO_SERVER_SSL_KEY_BASE64} \ -# --platform linux/arm64/v8,linux/amd64 \ -# --tag tagoio/relay:alpine \ -# --tag tagoio/relay:${MAJOR}.${MINOR}-alpine \ -# --tag tagoio/relay:${MAJOR}.${MINOR}.${PATCH}-alpine . - # Debian docker buildx build --push --build-arg TAGORELAY_VERSION=${FULL_VERSION} \ --build-arg CARGO_SERVER_SSL_CA=${CARGO_SERVER_SSL_CA_BASE64} \ diff --git a/examples/docker-compose/docker-compose.yml b/examples/docker-compose/docker-compose.yml index 8137fdf..92f59d0 100644 --- a/examples/docker-compose/docker-compose.yml +++ b/examples/docker-compose/docker-compose.yml @@ -1,8 +1,10 @@ services: - my-eclipse: + tagoio-mqtt-relay: image: tagoio/relay:latest restart: always ports: - "3001:3001" volumes: - - ./config.toml:./tagoio-mqtt-relay.toml + - ./config.toml:./tago-io/.tagoio-mqtt-relay.toml + environment: + - TAGOIO__RELAY__CONFIG_PATH=/tago-io/.tagoio-mqtt-relay.toml