-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (35 loc) · 1.04 KB
/
docker-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
version: "3.8"
services:
palarm-web:
container_name: palarm-web
build:
context: web/
dockerfile: Dockerfile
restart: always
environment:
- GENERATE_SOURCEMAP=false
networks:
- proxy
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.palarm-web.rule=Host(`palarm.coding.global`)'
- 'traefik.http.routers.palarm-web.entrypoints=websecure'
- 'traefik.http.routers.palarm-web.tls.certresolver=letsencrypt'
palarm-server:
container_name: palarm-server
build:
context: server/
dockerfile: Dockerfile
restart: always
networks:
- proxy
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.palarm-server.rule=Host(`palarm.coding.global`) && PathPrefix(`/api`)'
- 'traefik.http.routers.palarm-server.entrypoints=websecure'
- 'traefik.http.routers.palarm-server.tls.certresolver=letsencrypt'
- 'traefik.http.services.palarm-server.loadbalancer.server.port=5000'
networks:
proxy:
external: false
name: proxy