21 lines
416 B
YAML
21 lines
416 B
YAML
name: rstat
|
|
|
|
services:
|
|
|
|
nginx:
|
|
image: nginx:1.29.0
|
|
restart: always
|
|
volumes:
|
|
- ./config/nginx:/etc/nginx/conf.d:ro
|
|
- ./config/certbot:/etc/nginx/ssl:ro
|
|
- ./public:/usr/share/nginx:ro
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
|
|
certbot:
|
|
image: certbot/certbot:v4.1.1
|
|
volumes:
|
|
- ./config/certbot:/etc/letsencrypt:rw
|
|
- ./public/certbot:/usr/share/nginx/certbot:rw
|