docker compose stuff.
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
Reference in New Issue
Block a user