-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (41 loc) · 1.23 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This file only contains base configuration needed for CI build and test
# For local development environment please see docker-compose.dev.yml
version: "3.9"
services:
designer:
container_name: designer
image: ghcr.io/communitiesuk/funding-service-design-form-designer-adapter:latest
build:
context: .
dockerfile: ./designer/Dockerfile
cache_from:
- ghcr.io/communitiesuk/funding-service-design-form-designer-adapter:latest
ports:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true
- PREVIEW_URL=http://localhost:3009
- PUBLISH_URL=http://runner:3009
- LAST_COMMIT
- LAST_TAG
command: yarn designer production
depends_on:
- runner
runner:
container_name: runner
image: ghcr.io/communitiesuk/funding-service-design-form-runner-adapter:latest
build:
context: .
dockerfile: ./runner/Dockerfile
cache_from:
- ghcr.io/communitiesuk/funding-service-design-form-runner-adapter:latest
ports:
- "3009:3009"
environment:
- CHOKIDAR_USEPOLLING=true
- PREVIEW_MODE=true
- LAST_COMMIT
- LAST_TAG
- JWT_AUTH_ENABLED=false
- PREVIEW_MODE=true
command: yarn runner production