Skip to content

Commit 6aec9d9

Browse files
author
Jon
committed
Add a docker-compose for the example frontend
1 parent 19d15a8 commit 6aec9d9

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

deploy/docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
# These addresses should point to your Observation Portal backend deployment
13+
- VUE_APP_OBSERVATION_PORTAL_API_URL=http://127.0.0.1:8000
14+
- INTERNAL_OBSERVATION_PORTAL_API_URL=http://127.0.0.1:8000
15+
entrypoint: /entrypoint.sh

0 commit comments

Comments
 (0)