All checks were successful
Build and Deploy Demo App / build-and-deploy (push) Successful in 35s
25 lines
556 B
YAML
25 lines
556 B
YAML
services:
|
|
app:
|
|
image: demo-app:latest
|
|
container_name: demo-app
|
|
restart: unless-stopped
|
|
|
|
nginx:
|
|
image: jonasal/nginx-certbot:latest
|
|
container_name: demo-nginx
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8008:80
|
|
- 4433:443
|
|
environment:
|
|
- CERTBOT_EMAIL=the.dark.mist23@gmail.com
|
|
- ENVSUBST_TEMPLATE_SUFFIX=.tmpl # Enables template processing if needed
|
|
volumes:
|
|
- ./nginx_user_conf.d:/etc/nginx/user_conf.d:ro
|
|
- letsencrypt:/etc/letsencrypt
|
|
depends_on:
|
|
- app
|
|
|
|
volumes:
|
|
letsencrypt:
|