chore: Move traeffik to root folder
This commit is contained in:
parent
914e7663dd
commit
45efdcd288
@ -1,25 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
|
||||||
# Service for Traefik, a modern HTTP reverse proxy and load balancer.
|
|
||||||
traefik:
|
|
||||||
image: traefik:v2.10
|
|
||||||
ports:
|
|
||||||
# Map port 80 in the container to port 80 on the host.
|
|
||||||
- "80:80"
|
|
||||||
# Map port 8080 in the container (Traefik's dashboard) to port 8080 on the host.
|
|
||||||
- "8080:8080"
|
|
||||||
# Mount the Docker socket to allow Traefik to listen to Docker's API.
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
- ./traefik/traefik.yml:/traefik.yml:ro
|
|
||||||
- ./traefik/config.yml:/config.yml:ro
|
|
||||||
# Connect this service to the traefik_public network.
|
|
||||||
networks:
|
|
||||||
- traefik_public
|
|
||||||
|
|
||||||
# Define networks used in this docker-compose file.
|
|
||||||
networks:
|
|
||||||
# Public-facing network that Traefik uses. Marked as external to indicate it may be defined outside this file.
|
|
||||||
traefik_public:
|
|
||||||
external: true
|
|
||||||
Loading…
x
Reference in New Issue
Block a user