mirror of
https://github.com/TronoSfera/Law.git
synced 2026-05-18 10:03:45 +03:00
42 lines
733 B
YAML
42 lines
733 B
YAML
services:
|
|
edge:
|
|
image: nginx:1.27-alpine
|
|
container_name: law-edge
|
|
restart: unless-stopped
|
|
depends_on:
|
|
frontend:
|
|
condition: service_healthy
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./deploy/nginx/edge-https.conf:/etc/nginx/conf.d/default.conf:ro
|
|
- letsencrypt:/etc/letsencrypt
|
|
- certbot_webroot:/var/www/certbot
|
|
|
|
certbot:
|
|
image: certbot/certbot:latest
|
|
container_name: law-certbot
|
|
restart: "no"
|
|
volumes:
|
|
- letsencrypt:/etc/letsencrypt
|
|
- certbot_webroot:/var/www/certbot
|
|
|
|
frontend:
|
|
ports: []
|
|
|
|
backend:
|
|
ports: []
|
|
|
|
db:
|
|
ports: []
|
|
|
|
redis:
|
|
ports: []
|
|
|
|
minio:
|
|
ports: []
|
|
|
|
volumes:
|
|
letsencrypt:
|
|
certbot_webroot:
|