Skip to content

Commit

Permalink
chore: Update Dockerfile to use tagoio-mqtt-relay image instead of my…
Browse files Browse the repository at this point in the history
…-eclipse
  • Loading branch information
vitorfdl committed Jun 20, 2024
1 parent 0ba1afd commit ffb5146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
10 changes: 0 additions & 10 deletions dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down
6 changes: 4 additions & 2 deletions examples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ffb5146

Please sign in to comment.