File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : ' 3.7'
2+
3+ # This provides a simple example frontend that can view and schedule Requests using
4+ # the Observation Portal API backend and components from the ocs-component-lib.
5+ services :
6+ obs_portal_frontend :
7+ image : observatorycontrolsystem/ocs-example-frontend:0.1.0
8+ ports :
9+ - " 8080:8080"
10+ restart : always
11+ environment :
12+ # This address should point to your Observation Portal backend deployment.
13+ # It is used within the frontend, so it can access localhost outside the docker network.
14+ - VUE_APP_OBSERVATION_PORTAL_API_URL=http://127.0.0.1:8000
15+ # This address is used within the docker container, so localhost won't work normally.
16+ # Note that when using the default docker network on linux, 172.17.0.1 works
17+ # for localhost of the host network, but for mac you will need to use
18+ # `host.docker.internal` instead to point to localhost of the host network.
19+ - INTERNAL_OBSERVATION_PORTAL_API_URL=http://172.17.0.1:8000
20+ entrypoint : /entrypoint.sh
You can’t perform that action at this time.
0 commit comments