2022-05-12 11:02:14 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
proxy:
|
|
|
|
image: traefik:v2.6
|
|
|
|
command:
|
|
|
|
- --api.insecure=true
|
|
|
|
- --entrypoints.web.address=:80
|
2022-05-12 14:53:22 +00:00
|
|
|
- --entrypoints.websecure.address=:443
|
2022-05-12 11:02:14 +00:00
|
|
|
- --providers.docker=false
|
|
|
|
- --providers.docker.exposedbydefault=false
|
|
|
|
- --providers.http.endpoint=http://host.docker.internal:3000/traefik.json
|
|
|
|
- --providers.http.pollTimeout=5s
|
|
|
|
- --log.level=error
|
|
|
|
ports:
|
|
|
|
- '80:80'
|
|
|
|
- '443:443'
|
|
|
|
- '8080:8080'
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
extra_hosts:
|
|
|
|
- 'host.docker.internal:host-gateway'
|
|
|
|
networks:
|
|
|
|
- coolify-infra
|
|
|
|
|
|
|
|
networks:
|
|
|
|
coolify-infra:
|
|
|
|
attachable: true
|
|
|
|
name: coolify-infra
|