Docker Hub Tags: https://hub.docker.com/r/iamriajul/agora-token-service/tags
version: '3.7'
services:
agora-token:
image: iamriajul/agora-token-service:latest # or specify a tag like iamriajul/agora-token-service:1.5
ports:
- 8080:8080 # the image exposes port 8080
environment:
- APP_ID=your-app-id
- APP_CERTIFICATE=your-app-certificate
- CORS_ALLOW_ORIGIN=your-allowed-origins
# Note SERVER_PORT, PORT are not supported, as the image exposes port 8080
# Passing these env variables will not work
networks:
- my-network