Cloud_Computing_II/docker-compose.yml

33 lines
751 B
YAML
Raw Normal View History

2023-03-16 08:26:35 +00:00
version: '3'
services:
nginx:
image: jonasal/nginx-certbot:latest
restart: unless-stopped
environment:
- CERTBOT_EMAIL
env_file:
- ./nginx-certbot.env
ports:
- 80:80
- 443:443
volumes:
- nginx_secrets:/etc/letsencrypt
- ./user_conf.d:/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
env_file:
- DATABASE_URL=${DATABASE_URL}
- AZURE_KEY=${AZURE_KEY}
- AZURE_ENDPOINT=${AZURE_ENDPOINT}
- AZURE_LOCATION=${AZURE_LOCATION}
- ENV=${ENV}
volumes:
nginx_secrets: