2023-03-18 09:50:06 +01:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
webserver:
|
|
|
|
depends_on:
|
|
|
|
- wordpress
|
2023-04-16 00:43:35 +02:00
|
|
|
image: nginx:1.24.0
|
2023-03-18 09:50:06 +01:00
|
|
|
container_name: webserver
|
|
|
|
profiles:
|
|
|
|
- webserver
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
|
|
|
- wordpress:/var/www/wordpress
|
|
|
|
- jellyfin:/var/www/jellyfin
|
2023-03-19 13:01:07 +01:00
|
|
|
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
|
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
2023-03-18 09:50:06 +01:00
|
|
|
- certbot-cert:/etc/letsencrypt:ro
|
|
|
|
networks:
|
|
|
|
- app-network
|
|
|
|
security_opt:
|
2023-04-16 23:43:40 +02:00
|
|
|
- no-new-privileges:true
|