2023-04-13 18:43:32 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
2023-10-06 15:52:45 +02:00
|
|
|
nginx:
|
|
|
|
container_name: "{{nginx.host}}"
|
|
|
|
image: 'jc21/nginx-proxy-manager:latest'
|
2023-04-27 10:52:49 +02:00
|
|
|
restart: unless-stopped
|
2023-04-13 18:43:32 +02:00
|
|
|
networks:
|
|
|
|
net: {}
|
|
|
|
ports:
|
2023-10-06 15:52:45 +02:00
|
|
|
- '{{nginx.endpoints.http}}:80'
|
|
|
|
- '{{nginx.endpoints.https}}:443'
|
|
|
|
- '{{nginx.endpoints.admin}}:81'
|
|
|
|
volumes:
|
|
|
|
- "{{nginx.paths.data}}:/data"
|
|
|
|
- "{{nginx.paths.letsencrypt}}:/etc/letsencrypt"
|
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
2023-04-13 18:43:32 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
net:
|
|
|
|
driver: bridge
|
|
|
|
ipam:
|
|
|
|
# driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 172.16.69.0/24
|
|
|
|
gateway: 172.16.69.1
|