-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduction.yml
More file actions
36 lines (35 loc) · 1.18 KB
/
production.yml
File metadata and controls
36 lines (35 loc) · 1.18 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
version: "3"
services:
back:
image: gfbio_search_back_production:latest
build:
context: .
dockerfile: ./docker/backend/Dockerfile
container_name: gfbio_search_back_production
env_file:
- ./search/backend/.env
networks:
- internalProxy
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.gfbio-search-back-production.rule=Host(`search.gfbio.org`) && PathPrefix(`/gfbio`)"
- "traefik.http.routers.gfbio-search-back-production.entrypoints=web"
- "traefik.http.services.gfbio-search-back-production.loadbalancer.server.port=3000"
front:
image: gfbio_search_front_production:latest
build:
context: .
dockerfile: ./docker/frontend/Dockerfile
container_name: gfbio_search_front_production
networks:
- internalProxy
restart: always
labels:
- "traefik.enable=true"
- "traefik.http.routers.gfbio-search-front-production.rule=Host(`search.gfbio.org`)"
- "traefik.http.routers.gfbio-search-front-production.entrypoints=web"
- "traefik.http.services.gfbio-search-front-production.loadbalancer.server.port=80"
networks:
internalProxy:
external: true