Dockerize environment for automated testing
This commit is contained in:
40
compose.app.yml
Normal file
40
compose.app.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
auth-session-proxy:
|
||||
build:
|
||||
dockerfile: Worker.Rust.Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
expose:
|
||||
- 6284
|
||||
pull_policy: build
|
||||
networks:
|
||||
- internal
|
||||
env_file:
|
||||
- .dev.vars
|
||||
volumes:
|
||||
- wrangler-data:/app/.wrangler/tmp/dev-registry
|
||||
environment:
|
||||
- AUTH_SERVER_URL=${AUTH_SERVER_URL}
|
||||
- APP_URL=${APP_URL}
|
||||
- HOST=${HOST}
|
||||
- CLIENT_ID=${CLIENT_ID}
|
||||
- CLIENT_SECRET=${CLIENT_SECRET}
|
||||
- ZITADEL_ORG_ID=${ZITADEL_ORG_ID}
|
||||
- ZITADEL_PROJECT_ID=${ZITADEL_PROJECT_ID}
|
||||
- PROXY_TARGET=${PROXY_TARGET}
|
||||
|
||||
example-worker:
|
||||
build:
|
||||
dockerfile: Worker.Node.Dockerfile
|
||||
pull_policy: build
|
||||
volumes:
|
||||
- wrangler-data:/app/.wrangler/tmp/dev-registry
|
||||
networks:
|
||||
- internal
|
||||
expose:
|
||||
- 6284
|
||||
|
||||
networks:
|
||||
internal:
|
||||
volumes:
|
||||
wrangler-data:
|
Reference in New Issue
Block a user