Last active
February 14, 2023 18:38
-
-
Save DamianMac/d52a1f0b573fa6542c8132cb9ab1e7f6 to your computer and use it in GitHub Desktop.
Seq and Nginx and Letsencrypt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
restart: unless-stopped | |
container_name: nginx-proxy | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- conf:/etc/nginx/conf.d | |
- vhost:/etc/nginx/vhost.d | |
- html:/usr/share/nginx/html | |
- dhparam:/etc/nginx/dhparam | |
- certs:/etc/nginx/certs:ro | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
network_mode: bridge | |
nginx-proxy-companion: | |
image: jrcs/letsencrypt-nginx-proxy-companion | |
restart: unless-stopped | |
container_name: nginx-proxy-companion | |
volumes_from: | |
- nginx-proxy | |
volumes: | |
- certs:/etc/nginx/certs:rw | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
network_mode: bridge | |
environment: | |
DEFAULT_EMAIL: [email protected] | |
seq: | |
image: datalust/seq:latest | |
restart: unless-stopped | |
container_name: seq | |
ports: | |
- 5341:80 | |
expose: | |
- 80 | |
network_mode: bridge | |
environment: | |
ACCEPT_EULA: Y | |
BASE_URI: https://seq.domain.com/ | |
SEQ_CACHE_SYSTEMRAMTARGET: 0.8 | |
VIRTUAL_HOST: seq.domain.com | |
LETSENCRYPT_HOST: seq.domain.com | |
LETSENCRYPT_EMAIL: [email protected] | |
volumes: | |
- /seqdata:/data | |
volumes: | |
conf: | |
vhost: | |
html: | |
dhparam: | |
certs: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment