Cloud_Computing_II/docker-compose.yml
H4CK3R-01 df6f17ed76
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Removed proxy Dockerfile, updated docker-compose.yml
2023-03-20 23:26:53 +01:00

31 lines
723 B
YAML

version: '3'
services:
nginx:
image: jonasal/nginx-certbot:latest
restart: unless-stopped
environment:
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
ports:
- 80:80
- 443:443
volumes:
- nginx_secrets:/etc/letsencrypt
- ./proxy:/etc/nginx/user_conf.d
frontend:
image: registry.flokaiser.com/dhbw/cloud-computing-frontend:latest
restart: unless-stopped
backend:
image: registry.flokaiser.com/dhbw/cloud-computing-backend:latest
restart: unless-stopped
environment:
- DATABASE_URL=${DATABASE_URL}
- AZURE_KEY=${AZURE_KEY}
- AZURE_ENDPOINT=${AZURE_ENDPOINT}
- AZURE_LOCATION=${AZURE_LOCATION}
- ENV=${ENV}
volumes:
nginx_secrets: