WebServer/docker-compose.yaml

16 lines
557 B
YAML
Raw Normal View History

services:
webserver:
image: nginx:1.27.4-alpine
container_name: webserver1.1
ports:
- "80:80"
- "443:443"
volumes:
- /home/apotheosis/projectWeb:/usr/share/nginx/html
- /home/domain.crt:/etc/nginx/conf.d/domain.crt
- /home/domain.key:/etc/nginx/conf.d/domain.key
- /home/domain.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt/live/super-admins.online/privkey.pem:/etc/nginx/conf.d/privkey.pem
- /etc/letsencrypt/live/super-admins.online/fullchain.pem:/etc/nginx/conf.d/fullchain.pem