17 lines
437 B
YAML
17 lines
437 B
YAML
---
|
|
|
|
version: "3.8"
|
|
|
|
networks:
|
|
default:
|
|
name: ${TRAEFIK_NETWORK_NAME}
|
|
external: true
|
|
|
|
services:
|
|
drone-server:
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-drone-server}.rule=Host(`${DRONE_SERVER_HOST:?err}`)
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-drone-server}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}
|