Skip to content

Commit 4b5d47f

Browse files
committed
Restore grep config after accidentally removing it
1 parent 25053d2 commit 4b5d47f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docker-compose.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,37 @@ services:
213213
networks:
214214
- elasticsearch
215215

216+
# __ _ _ __ ___ _ __
217+
# / _` | '__/ _ \ '_ \
218+
# | (_| | | | __/ |_) |
219+
# \__, |_| \___| .__/
220+
# __/ | | |
221+
# |___/ |_|
222+
223+
grep:
224+
depends_on:
225+
- traefik
226+
image: metacpan/metacpan-grep-front-end:latest
227+
build:
228+
context: ./src/metacpan-grep-front-end
229+
volumes:
230+
- type: volume
231+
source: metacpan_git_shared
232+
target: /shared/metacpan_git
233+
read_only: true
234+
- type: bind
235+
source: ./src/metacpan-grep-front-end
236+
target: /metacpan-grep-front-end
237+
read_only: true
238+
env_file:
239+
- grep.env
240+
networks:
241+
- traefik-network
242+
labels:
243+
- "traefik.enable=true"
244+
- "traefik.http.routers.grep.rule=Host(`grep.metacpan.localhost`)"
245+
- "traefik.http.services.grep-web.loadbalancer.server.port=3000"
246+
216247
# ____ _ _____ _ ____ _ ____ _____ ____
217248
# | _ \ / \|_ _|/ \ | __ ) / \ / ___|| ____/ ___|
218249
# | | | |/ _ \ | | / _ \ | _ \ / _ \ \___ \| _| \___ \

0 commit comments

Comments
 (0)