Skip to content

Commit

Permalink
Merge pull request #101 from metacpan/oalders/fix-grep
Browse files Browse the repository at this point in the history
Restore grep config after accidentally removing it
  • Loading branch information
atoomic authored Apr 27, 2024
2 parents 25053d2 + 4b5d47f commit 36f2ddf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,37 @@ services:
networks:
- elasticsearch

# __ _ _ __ ___ _ __
# / _` | '__/ _ \ '_ \
# | (_| | | | __/ |_) |
# \__, |_| \___| .__/
# __/ | | |
# |___/ |_|

grep:
depends_on:
- traefik
image: metacpan/metacpan-grep-front-end:latest
build:
context: ./src/metacpan-grep-front-end
volumes:
- type: volume
source: metacpan_git_shared
target: /shared/metacpan_git
read_only: true
- type: bind
source: ./src/metacpan-grep-front-end
target: /metacpan-grep-front-end
read_only: true
env_file:
- grep.env
networks:
- traefik-network
labels:
- "traefik.enable=true"
- "traefik.http.routers.grep.rule=Host(`grep.metacpan.localhost`)"
- "traefik.http.services.grep-web.loadbalancer.server.port=3000"

# ____ _ _____ _ ____ _ ____ _____ ____
# | _ \ / \|_ _|/ \ | __ ) / \ / ___|| ____/ ___|
# | | | |/ _ \ | | / _ \ | _ \ / _ \ \___ \| _| \___ \
Expand Down

0 comments on commit 36f2ddf

Please sign in to comment.