Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S ScienceAccess
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Russell Jarvis
  • ScienceAccess
  • Issues
  • #1
Closed
Open
Created Aug 17, 2020 by Russell Jarvis@russelljjarvis💬Owner

How to get Docker container working

Created by: MarcSkovMadsen

Hi @russelljjarvis

Based on your mail I tried to follow the instructions on the github front page. So I git cloned, docker build and docker run the application. I could see I could not access the application at localhost:8080.

In order to get that working I needed to change a few things

Dockerfile

RUN bash -c 'echo -e "\
	[server]\n\
	enableCORS = false\n\
	enableXsrfProtection = false\n\
	\n\
	[browser]\n\
	serverAddress = \"0.0.0.0\"\
	" > /root/.streamlit/config.toml'

Command line

docker run -p 8080:8080 --shm-size=3gb --cpus=2.0 --memory=1g --memory-swa
p=1g --rm wcomplexity

You can see the changes below including the app running on localhost:8080

image

Assignee
Assign to
Time tracking