Files
node-template-express/docker-compose.debug.yml
2020-11-13 09:09:21 +01:00

50 lines
1.2 KiB
YAML

version: "3.7"
services:
redis:
image: redis
command: redis-server --appendonly yes
volumes:
- ./tmp/redis-data:/data
ports:
- 6379:6379
networks:
- backend
proxy:
image: docker-registry.biotronik.int/web/auth-proxy
depends_on:
- redis
environment:
- "PROXY_USERINFO_SECRET=3d513168-c92d-4f57-8c78-8fb2efad8a34"
- "PROXY_TARGET_URI=http://host.docker.internal:3000"
- "HOST=0.0.0.0"
- "COOKIE_SECRET=05e8cc4b-f95f-4a70-b4a1-b22ce295348d"
- "WELLKNOWN_CONFIG_URI=https://nodejs1-2.biotronik.int/auth/realms/CoE-BS/.well-known/openid-configuration"
- "CLIENT_ID=demo"
- "CLIENT_SECRET=fb49b346-c515-4680-adb1-beee0bd5b66e"
- "CLIENT_SCOPE=openid email profile roles groups"
- "NODE_ENV=debug"
- "SSL_VERIFY=false"
- "EXT_RESOURCE_URI=http://localhost"
- "REDIS_URL=redis://redis:6379"
- "NO_PROXY=redis:6379"
ports:
- 3001:3000
networks:
- frontend
- backend
nginx:
image: nginx:alpine
depends_on:
- proxy
volumes:
- ./tmp/default-external.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
networks:
- frontend
networks:
backend:
frontend: