You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
564 B

version: '{{ compose_version }}'
services:
nginx:
container_name: {{ nginx_container_name }}
restart: unless-stopped
hostname: {{ nginx_container_name }}
image: {{ nginx_docker_image }}
ports:
- {{ nginx_http_port }}:80
- {{ nginx_https_port }}:443
volumes:
- {{ nginx_data_dir }}:/etc/nginx/conf.d
- {{ nginx_certs_dir }}/live/{{ vaultwarden_domain }}:/etc/letsencrypt/live/{{ vaultwarden_domain }}
- {{ nginx_certs_dir }}/archive/{{ vaultwarden_domain }}:/etc/letsencrypt/archive/{{ vaultwarden_domain }}