Skip to content

Commit

Permalink
use built image
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Aug 20, 2024
1 parent d7b76fd commit a5100a9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pullpreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: pullpreview/action@v5.6.1
with:
compose_files: docker-compose.pullpreview.yml
ports: 3000/tcp,3009/tcp
default_port: 3000
admins: gidsg
30 changes: 30 additions & 0 deletions docker-compose.pullpreview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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
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
ports:
- "3009:3009"
environment:
- CHOKIDAR_USEPOLLING=true
- PREVIEW_MODE=true
- LAST_COMMIT
- LAST_TAG
- JWT_AUTH_ENABLED=false
command: yarn runner production

0 comments on commit a5100a9

Please sign in to comment.