Skip to content

Commit d823a90

Browse files
committed
add playground service
1 parent 7de0f45 commit d823a90

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docker-compose.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
profiles:
1616
- '' #load by default without having to specify docker compose --profile
1717
- gateway
18+
- fullstack
1819
api:
1920
image: ghcr.io/douglasneuroinformatics/open-data-capture-api:${RELEASE_CHANNEL}
2021
build:
@@ -46,6 +47,7 @@ services:
4647
- 80
4748
profiles:
4849
- '' #load by default without having to specify docker compose --profile
50+
- fullstack
4951
gateway:
5052
image: ghcr.io/douglasneuroinformatics/open-data-capture-gateway:${RELEASE_CHANNEL}
5153
build:
@@ -60,6 +62,7 @@ services:
6062
profiles:
6163
- '' #load by default without having to specify docker compose --profile
6264
- gateway
65+
- fullstack
6366
restart: unless-stopped
6467
environment:
6568
- NODE_ENV=production
@@ -86,6 +89,7 @@ services:
8689
- 80
8790
profiles:
8891
- '' #load by default without having to specify docker compose --profile
92+
- fullstack
8993
restart: unless-stopped
9094
mongo:
9195
image: mongo:${MONGODB_VERSION}
@@ -105,3 +109,17 @@ services:
105109
- ./mongo/data:/data/db
106110
profiles:
107111
- '' #load by default without having to specify docker compose --profile
112+
- fullstack
113+
playground:
114+
image: caddy:2.7-alpine
115+
build:
116+
context: .
117+
dockerfile: ./apps/playground/Dockerfile
118+
environment:
119+
- NODE_ENV=production
120+
- PLAYGROUND_URL=http://localhost:3000
121+
ports:
122+
- "3000:3000"
123+
restart: unless-stopped
124+
profiles:
125+
- fullstack

0 commit comments

Comments
 (0)