Skip to content

Commit cacd2ec

Browse files
update with mainstream
1 parent a0d72c8 commit cacd2ec

File tree

5 files changed

+15
-44
lines changed

5 files changed

+15
-44
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
COMPOSE_PROJECT_NAME=metacpan
22
PLACK_ENV=development
33
PGDB=pgdb:5432
4-
API_SERVER=morbo -l http://*:5000 -w app.psgi -w bin -w lib -w templates --verbose
4+
API_SERVER="morbo -l http://*:5000 -w app.psgi -w bin -w lib -w templates --verbose"

configs/metacpan-web/metacpan_web.conf

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
api = http://api:5000
2+
api_public = http://localhost:5000
3+
source_host = http://localhost:5000
4+
web_host = http://localhost:5001
5+
6+
<View::Xslate>
7+
cache_dir = /var/tmp/templates
8+
</View::Xslate>

docker-compose.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ services:
7272
source: web_carton
7373
target: /carton
7474
- type: bind
75-
source: ./configs/metacpan-web/metacpan_web.conf
76-
target: /metacpan-web/metacpan_web.conf
75+
source: ./configs/metacpan-web/metacpan_web_local.conf
76+
target: /metacpan-web/metacpan_web_local.conf
7777
read_only: true
7878
- type: bind
7979
source: ./src/metacpan-web
@@ -366,6 +366,8 @@ services:
366366
PG_TAG: "${PG_VERSION_TAG:-9.6-alpine}"
367367
environment:
368368
POSTGRES_PASSWORD: metacpan
369+
POSTGRES_USERNAME: metacpan123
370+
POSTGRES_DB: metacpan
369371
networks:
370372
- database
371373
healthcheck:
@@ -396,7 +398,7 @@ services:
396398
#
397399

398400
mongodb:
399-
image: mongo:latest
401+
image: mongo:4.4.9
400402
networks:
401403
- mongo
402404
healthcheck:

grep.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# grep service - development environment
22

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

0 commit comments

Comments
 (0)