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.
45 lines
1.2 KiB
45 lines
1.2 KiB
version: '3.5' |
|
|
|
networks: |
|
webNet: |
|
name: webNet |
|
ipam: |
|
config: |
|
- subnet: 172.10.0.0/24 |
|
|
|
services: |
|
nginx-proxy: |
|
image: jwilder/nginx-proxy:alpine |
|
container_name: nginx-proxy |
|
networks: |
|
- webNet |
|
ports: |
|
- "80:80" |
|
- "443:443" |
|
restart: unless-stopped |
|
volumes: |
|
- ./_data_/certs:/etc/nginx/certs:ro |
|
- ./_data_/vhost.d:/etc/nginx/vhost.d |
|
- ./_data_/html:/usr/share/nginx/html |
|
- ./_data_/conf/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf |
|
- ./_data_/log/access.log:/var/log/nginx/access.log |
|
- /var/run/docker.sock:/tmp/docker.sock:ro |
|
environment: |
|
DEFAULT_HOST: www.ckris.de |
|
labels: |
|
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true" |
|
|
|
nginx-proxy-comp: |
|
image: jrcs/letsencrypt-nginx-proxy-companion:latest |
|
container_name: nginx-proxy-comp |
|
depends_on: |
|
- nginx-proxy |
|
networks: |
|
- webNet |
|
restart: unless-stopped |
|
volumes: |
|
- ./_data_/certs:/etc/nginx/certs:rw |
|
- ./_data_/vhost.d:/etc/nginx/vhost.d |
|
- ./_data_/html:/usr/share/nginx/html |
|
- /var/run/docker.sock:/var/run/docker.sock:ro |
|
|
|
|