forked from ta-vivo/ta-vivo-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
26 lines (25 loc) · 838 Bytes
/
docker-compose.dev.yml
File metadata and controls
26 lines (25 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3'
services:
ta-vivo-api:
build:
context: .
dockerfile: Dockerfile.dev
labels:
- "traefik.http.routers.ta-vivo-api.rule=Host(`${DOMAIN}`)"
# - "traefik.http.routers.ta-vivo-api.entrypoints=websecure"
# - "traefik.http.routers.ta-vivo-api.tls.certresolver=myresolver"
- "traefik.http.services.ta-vivo-api.loadbalancer.server.port=${PORT}"
- "traefik.http.middlewares.ta-vivo-api.ratelimit.average=15"
- "traefik.http.middlewares.ta-vivo-api.ratelimit.burst=15"
- "traefik.http.routers.ta-vivo-api.middlewares=ta-vivo-api@docker"
volumes:
- ./:/usr/src/app
- ../node_modules/:/usr/src/node_modules
ports:
- ${PORT}:${PORT}
networks:
- traefik_proxynet
networks:
traefik_proxynet:
external:
name: traefik_proxynet