Skip to content

Commit 51e6e09

Browse files
fix: expose Hardhat (#886)
1 parent 244b39e commit 51e6e09

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker-compose.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ services:
99
- /var/run/docker.sock:/var/run/docker.sock:ro
1010
- ./traefik.yaml:/etc/traefik/traefik.yaml:ro
1111

12-
1312
frontend:
1413
build:
1514
context: ./
@@ -205,6 +204,11 @@ services:
205204
timeout: 30s
206205
retries: 5
207206
start_period: 60s
207+
labels:
208+
traefik.enable: true
209+
traefik.http.routers.hardhat.rule: Host(`${SERVER_NAME}`) && PathPrefix(`/hardhat`)
210+
traefik.http.routers.hardhat.entrypoints: websecure
211+
traefik.http.routers.hardhat.tls: true
208212

209213
volumes:
210214
hardhat_artifacts:

0 commit comments

Comments
 (0)