mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-11-14 14:11:32 +01:00
25 lines
537 B
YAML
25 lines
537 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
webserver:
|
|
depends_on:
|
|
- wordpress
|
|
image: nginx:1.24.0
|
|
container_name: webserver
|
|
profiles:
|
|
- webserver
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- wordpress:/var/www/wordpress
|
|
- jellyfin:/var/www/jellyfin
|
|
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- certbot-cert:/etc/letsencrypt:ro
|
|
networks:
|
|
- app-network
|
|
security_opt:
|
|
- no-new-privileges:true
|