Skip to content

Commit

Permalink
update with mainstream
Browse files Browse the repository at this point in the history
  • Loading branch information
bodo-hugo-barwich committed Dec 10, 2021
1 parent a0d72c8 commit cacd2ec
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
COMPOSE_PROJECT_NAME=metacpan
PLACK_ENV=development
PGDB=pgdb:5432
API_SERVER=morbo -l http://*:5000 -w app.psgi -w bin -w lib -w templates --verbose
API_SERVER="morbo -l http://*:5000 -w app.psgi -w bin -w lib -w templates --verbose"
39 changes: 0 additions & 39 deletions configs/metacpan-web/metacpan_web.conf

This file was deleted.

8 changes: 8 additions & 0 deletions configs/metacpan-web/metacpan_web_local.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
api = http://api:5000
api_public = http://localhost:5000
source_host = http://localhost:5000
web_host = http://localhost:5001

<View::Xslate>
cache_dir = /var/tmp/templates
</View::Xslate>
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ services:
source: web_carton
target: /carton
- type: bind
source: ./configs/metacpan-web/metacpan_web.conf
target: /metacpan-web/metacpan_web.conf
source: ./configs/metacpan-web/metacpan_web_local.conf
target: /metacpan-web/metacpan_web_local.conf
read_only: true
- type: bind
source: ./src/metacpan-web
Expand Down Expand Up @@ -366,6 +366,8 @@ services:
PG_TAG: "${PG_VERSION_TAG:-9.6-alpine}"
environment:
POSTGRES_PASSWORD: metacpan
POSTGRES_USERNAME: metacpan123
POSTGRES_DB: metacpan
networks:
- database
healthcheck:
Expand Down Expand Up @@ -396,7 +398,7 @@ services:
#

mongodb:
image: mongo:latest
image: mongo:4.4.9
networks:
- mongo
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion grep.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# grep service - development environment

GREP_SITE_PORT=3001
GREP_PLACKUP_SERVER_ARGS=-E development -R lib,bin
GREP_PLACKUP_SERVER_ARGS="-E development -R lib,bin"

0 comments on commit cacd2ec

Please sign in to comment.