mirror of
https://github.com/daniviga/bite.git
synced 2024-11-26 23:06:14 +01:00
22 lines
449 B
YAML
22 lines
449 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
ingress:
|
|
<<: *service_default
|
|
image: traefik:v2.2
|
|
command: --api.insecure=true --providers.docker
|
|
ports:
|
|
- "8000:80"
|
|
- "8080:8080"
|
|
networks:
|
|
- net
|
|
volumes:
|
|
# So that Traefik can listen to the Docker events
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: always
|
|
init: true
|
|
|
|
bite:
|
|
labels:
|
|
- "traefik.http.routers.bite.rule=PathPrefix(`/`)"
|