Skip to content

Instantly share code, notes, and snippets.

@rgstephens
Created May 3, 2023 18:03
Show Gist options
  • Save rgstephens/45bd4678aed55adaa6b72c5c78d0cd0d to your computer and use it in GitHub Desktop.
Save rgstephens/45bd4678aed55adaa6b72c5c78d0cd0d to your computer and use it in GitHub Desktop.
docker-compose.yml for Rasa Pro
version: "3.4"
services:
rasa-production:
restart: always
# gcloud auth configure-docker europe-west3-docker.pkg.dev
image: "europe-west3-docker.pkg.dev/rasa-releases/rasa-plus/rasa-plus:3.5.6"
volumes:
# - ./.config:/.config
- ./models:/Users/greg/Dev/rasa/moodbot/models:ro
expose:
- "5005"
command: >
run
--enable-api
--debug
--no-prompt
--production
--port 5005
--jwt-method HS256
--jwt-secret ${JWT_SECRET:-my_secret}
--auth-token '${RASA_TOKEN}'
--cors "*"
environment:
RASA_TOKEN: ${RASA_TOKEN:-my_token}
RASA_MODEL_PULL_INTERVAL: 10
RASA_TELEMETRY_ENABLED: ${RASA_TELEMETRY_ENABLED:-true}
RASA_PRO_LICENSE: ${RASA_PRO_LICENSE}
RASA_ENVIRONMENT: "production"
DB_DATABASE: "tracker"
MPLCONFIGDIR: "/tmp/.matplotlib"
app:
restart: always
image: stephens/golfbot
expose:
- "5055"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment