-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.integration.yml
More file actions
45 lines (34 loc) · 1.61 KB
/
compose.integration.yml
File metadata and controls
45 lines (34 loc) · 1.61 KB
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
43
44
45
x-dev-common: &dev-common
image: "nsidc/aross-stations-db:dev"
build: "."
volumes:
- "${PWD}:/app"
services:
ui:
labels:
- "traefik.enable=true"
- "traefik.http.routers.aross-ui.rule=(Host(`integration.aross-stations.apps.int.nsidc.org`) || Host(`integration.nsidc.org`)) && PathPrefix(`/apps/aross-stations`)"
- "traefik.http.routers.aross-ui.entrypoints=websecure"
- "traefik.http.routers.aross-ui.tls=true"
- "traefik.http.routers.aross-ui.tls.certresolver=letsencrypt"
- "traefik.http.routers.aross-ui.middlewares=aross-ui"
- "traefik.http.routers.aross-ui.service=aross-ui"
- "traefik.http.middlewares.aross-ui.stripprefix.prefixes=/apps/aross-stations"
- "traefik.http.services.aross-ui.loadbalancer.server.port=80"
api:
<<: *dev-common
command: ["dev", "--host", "0.0.0.0", "./src/aross_stations_db/api"]
labels:
- "traefik.enable=true"
- "traefik.http.routers.aross-api.rule=(Host(`integration.aross-stations.apps.int.nsidc.org`) || Host(`integration.nsidc.org`)) && PathPrefix(`/api/aross-stations`)"
- "traefik.http.routers.aross-api.entrypoints=websecure"
- "traefik.http.routers.aross-api.tls=true"
- "traefik.http.routers.aross-api.tls.certresolver=letsencrypt"
- "traefik.http.routers.aross-api.middlewares=aross-api"
- "traefik.http.routers.aross-api.service=aross-api"
- "traefik.http.middlewares.aross-api.stripprefix.prefixes=/api/aross-stations"
- "traefik.http.services.aross-api.loadbalancer.server.port=8000"
cli:
<<: *dev-common
jupyterlab:
<<: *dev-common