Docker install is supposed to be easy. I can not make it work with scrumlr.io #4321
Replies: 3 comments 8 replies
-
version: '3.8'
services:
scrumlr-backend:
restart: always
image: scrumlr.io/scrumlr-server:v3.7.1
command:
- "/app/main"
- "-disable-check-origin"
environment:
SCRUMLR_SERVER_PORT: "${SCRUMLR_SERVER_PORT}"
SCRUMLR_SERVER_NATS_URL: "${SCRUMLR_SERVER_NATS_URL}"
SCRUMLR_PRIVATE_KEY: "${SCRUMLR_PRIVATE_KEY}"
SCRUMLR_SERVER_DATABASE_URL: "postgres://scrumlr:${POSTGRES_PASSWORD}@postgres:5432/scrumlr?sslmode=disable"
SCRUMLR_AUTH_GOOGLE_CLIENT_ID: "${GOOGLE_CLIENT_ID}"
SCRUMLR_AUTH_GOOGLE_CLIENT_SECRET: "${GOOGLE_CLIENT_SECRET}"
SCRUMLR_AUTH_MICROSOFT_CLIENT_ID: "${MICROSOFT_CLIENT_ID}"
SCRUMLR_AUTH_MICROSOFT_CLIENT_SECRET: "${MICROSOFT_CLIENT_SECRET}"
SCRUMLR_FEEDBACK_WEBHOOK_URL: "${WEBHOOK_URL}"
SCRUMLR_BASE_PATH: "${SCRUMLR_BASE_PATH}"
SCRUMLR_INSECURE: "${SCRUMLR_INSECURE}"
SCRUMLR_AUTH_GITHUB_CLIENT_ID: "${GITHUB_CLIENT_ID}"
SCRUMLR_AUTH_GITHUB_CLIENT_SECRET: "${GITHUB_CLIENT_SECRET}"
SCRUMLR_AUTH_AZURE_AD_TENANT_ID: "${AZURE_AD_TENANT_ID}"
SCRUMLR_AUTH_AZURE_AD_CLIENT_ID: "${AZURE_AD_CLIENT_ID}"
SCRUMLR_AUTH_AZURE_AD_CLIENT_SECRET: "${AZURE_AD_CLIENT_SECRET}"
SCRUMLR_AUTH_APPLE_CLIENT_ID: "${APPLE_CLIENT_ID}"
SCRUMLR_AUTH_APPLE_CLIENT_SECRET: "${APPLE_CLIENT_SECRET}"
# SCRUMLR_CONFIG_PATH: "${SCRUMRL_CONFIG_PATH}"
# Redis variables (if you decide to use Redis instead of NATS)
SCRUMLR_SERVER_REDIS_HOST: "${REDIS_HOST}"
SCRUMLR_SERVER_REDIS_USERNAME: "${REDIS_USERNAME}"
SCRUMLR_SERVER_REDIS_PASSWORD: "${REDIS_PASSWORD}"
ports:
- "8080:8080"
depends_on:
- postgres
- nats
scrumlr-frontend:
restart: always
image: scrumlr.io/scrumlr-frontend:v3.7.1
environment:
SCRUMLR_SERVER_URL: "${SCRUMLR_SERVER_URL}"
SCRUMLR_WEBSOCKET_URL: "${SCRUMLR_WEBSOCKET_URL}"
SCRUMLR_SHOW_LEGAL_DOCUMENTS: "${SCRUMLR_SHOW_LEGAL_DOCUMENTS}"
# Add missing frontend environment variables here
SCRUMLR_LISTEN_PORT: "${SCRUMLR_LISTEN_PORT}"
SCRUMLR_ANALYTICS_DATA_DOMAIN: "${ANALYTICS_DATA_DOMAIN}"
SCRUMLR_ANALYTICS_SRC: "${ANALYTICS_SRC}"
ports:
- "9090:8080"
postgres:
restart: always
image: postgres:16.3
environment:
POSTGRES_DB: scrumlr
POSTGRES_USER: scrumlr
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
nats:
restart: always
image: nats:2.8.4
ports:
- "4222:4222"
- "8222:8222"
volumes:
postgres_data: You can check our deployment guide here: |
Beta Was this translation helpful? Give feedback.
-
OK, i found the postman collection : https://github.com/inovex/scrumlr.io/blob/main/server/api.postman_collection.json |
Beta Was this translation helpful? Give feedback.
-
I made it work Lennart! I changed the ENV variable. I took of the api after the SCRUMLR_SERVER_URL and SCRUMLR_WEBSOCKET_URL
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I have many containers running on my ubuntu server. I usually use a docker compose and it works simply.
I am struggling to make this install for hours.
Can someone provide me a working docker compose?
Thanks
This below is not working :
[version: "3.9"
services:
nats:
image: nats:2-alpine
ports:
- "4222:4222"
healthcheck:
test: [ "CMD", "ping", "nats", "-c", "2" ]
start_period: 5s
interval: 10s
timeout: 5s
retries: 10
database:
image: postgres:16.3
ports:
- "5432:5432"
environment:
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
volumes:
- /home/xxxx/Documents/Docker/scrumlr/db:/var/lib/postgresql/data
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "${POSTGRES_DB}", "-U", "${POSTGRES_USER}" ]
start_period: 10s
interval: 10s
timeout: 5s
retries: 10
scrumlr:
image: scruml.io/backend:latest
ports:
- "8080:8080"
environment:
SCRUMLR_SERVER_PORT: 8080
SCRUMLR_SERVER_NATS_URL: "nats://nats:4222"
SCRUMLR_SERVER_DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database:5432/${POSTGRES_DB}?sslmode=disable"
JWT_PRIVATE_KEY: "${JWT_PRIVATE_KEY}"
depends_on:
database:
condition: service_healthy
nats:
condition: service_healthy
volumes:
- /home/xxxx/Documents/Docker/scrumlr/backend:/data
frontend:
image: scruml.io/frontend:latest
environment:
- REACT_APP_API_URL=http://localhost:8080
ports:
- "3000:80"
traefik:
image: traefik:latest
command:
- --api.insecure=true
- --providers.docker
- --entrypoints.web.address=:80
ports:
- "8080:8080"
- "80:80"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
](url)
Beta Was this translation helpful? Give feedback.
All reactions