version: '3' services: mongo: restart: always container_name: quant-ux-mongo image: mongo volumes: - ./data:/data/db # pth for the data to be stored and kept on your host machine is on the left side of the ":" qux-fe: restart: always container_name: quant-ux-frontend image: klausenschaefersinho/quant-ux environment: - QUX_PROXY_URL=http://quant-ux-backend:8080 # this is the path the front end uses to talk tot he backend - QUX_AUTH=qux - QUX_KEYCLOAK_REALM= - QUX_KEYCLOAK_CLIENT= - QUX_KEYCLOAK_URL= - QUX_WS_URL=ws://127.0.0.1:8086 # change to where the websocket server is deployed for external access links: - mongo - qux-be ports: - 8082:8082 # change the left side port if your host machine already has 8082 in use depends_on: - qux-be qux-be: restart: always container_name: quant-ux-backend image: klausenschaefersinho/quant-ux-backend volumes: - ./quant-ux-data:/app-data environment: - QUX_HTTP_HOST=http://quant-ux-frontend:8082 # this is the path the backend uses to talk to the front end - QUX_HTTP_PORT=8080 # This is the port the backend will use - QUX_MONGO_DB_NAME=quantux # the database / collection name in mongodb - QUX_MONGO_TABLE_PREFIX=quantux # table / document prefix in mongodb - QUX_MONGO_CONNECTION_STRING=mongodb://quant-ux-mongo:27017 # this assumes your mongodb container will be called "quant-ux-mongo" in the docker-compose file - QUX_MAIL_USER=mail_admin@example.com # this should be your smtp email user - QUX_MAIL_PASSWORD=sTr0ngPa55w0Rd # this should be your smtp email password - QUX_MAIL_HOST=mail.example.com # this should be your smtp host address - QUX_JWT_PASSWORD=some-long-string-of-mix-case-chars-and-nums # you should change this to a real JWT secret - QUX_IMAGE_FOLDER_USER=/app-data/qux-images # this folder should mapped in the volume - QUX_IMAGE_FOLDER_APPS=/app-data/qux-image-apps # this folder should mapped in the volume - TZ=America/Chicago # change to your timezone - QUX_AUTH_SERVICE=qux - QUX_KEYCLOAK_SERVER= # just the keycloak host & port - QUX_KEYCLOAK_REALM= - QUX_USER_ALLOW_SIGNUP=true # set the false to not allow users to signup - QUX_USER_ALLOWED_DOMAINS=* # comma separated list of domains, e.g. 'my-server.com' or '*' for all depends_on: - mongo qux-ws: restart: always container_name: quant-ux-websocket-server image: klausenschaefersinho/quant-ux-websocket environment: - QUX_SERVER=http://quant-ux-backend:8080/ - QUX_SERVER_PORT=8086 ports: - 8086:8086 links: - qux-be depends_on: - qux-be