forked from linkie/linkie-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
42 lines (38 loc) · 1.23 KB
/
compose.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
backend:
restart: unless-stopped
name: linkie-backend
networks:
- traefik
build:
context: .
dockerfile: ./backend.dockerfile
# ports:
# - 80:8080
labels:
traefik.enable: true
traefik.http.routers.linkie-api.entrypoints: https
traefik.http.routers.linkie-api.rule: Host(`linkie.devos.one`) && Path(`/api`)
traefik.http.routers.linkie-api.tls: true
traefik.http.services.linkie-api-svc.loadbalancer.server.port: 8080
frontend:
restart: unless-stopped
name: linkie-frontend
networks:
- traefik
depends_on:
- backend
build:
context: .
dockerfile: ./frontend.dockerfile
# ports:
# - 8080:8080
labels:
traefik.enable: true
traefik.http.routers.linkie-web.entrypoints: https
traefik.http.routers.linkie-web.rule: Host(`linkie.devos.one`)
traefik.http.routers.linkie-web.tls: true
traefik.http.services.linkie-web-svc.loadbalancer.server.port: 8080
networks:
traefik:
external: true