forked from serversideup/financial-freedom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.gitpod.yml
38 lines (33 loc) · 1.32 KB
/
docker-compose.gitpod.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
services:
traefik:
networks:
development:
aliases:
- 443-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}
php:
environment:
APP_URL: "https://443-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}"
labels:
- "traefik.enable=true"
- "traefik.http.routers.financialfreedom.rule=Host(`443-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}`)"
- "traefik.http.routers.financialfreedom.entrypoints=websecure"
- "traefik.http.services.financialfreedom.loadbalancer.server.port=8443"
- "traefik.http.services.financialfreedom.loadbalancer.server.scheme=https"
node:
environment:
VITE_HOST: "5173-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}"
APP_URL: "https://443-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}"
labels:
- "traefik.enable=true"
- "traefik.http.routers.vite.rule=HostRegexp(`5173-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}`)"
- "traefik.http.routers.vite.entrypoints=vite"
- "traefik.http.routers.vite.tls=true"
- "traefik.http.services.vite.loadbalancer.server.port=5173"
- "traefik.http.services.vite.loadbalancer.server.scheme=https"
mailpit:
ports:
- 8025:8025
labels:
- "traefik.enable=false"
networks:
development: