File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ RUN apt-get update &&\
6
6
libsyntax-keyword-try-perl libcapture-tiny-perl libhttp-tinyish-perl libnet-ssleay-perl\
7
7
liburl-encode-perl libextutils-config-perl libextutils-helpers-perl libextutils-installpaths-perl\
8
8
libclone-choose-perl libhash-merge-perl libtest-deep-perl liburi-nested-perl\
9
- libsql-abstract-perl liburi-db-perl libdbd-sqlite3-perl
9
+ libsql-abstract-perl liburi-db-perl libdbd-sqlite3-perl postgresql-server-dev-all
10
10
RUN mkdir -p /usr/share/perldoc-browser/log
11
11
COPY cpanfile cpanfile-cpandoc /usr/share/perldoc-browser/
12
12
RUN cd /usr/share/perldoc-browser/\
Original file line number Diff line number Diff line change 1
1
version: '3'
2
2
services:
3
+ db:
4
+ container_name: 'perldoc_db'
5
+ image: postgres:11.13-alpine3.14
6
+ # restart: always
7
+ ports:
8
+ - "5432:5432"
9
+ volumes:
10
+ - /absolute/path/to/project/data:/var/lib/postgresql/data:Z
11
+ environment:
12
+ - COMPONENT=perldoc_db
13
+ - POSTGRES_USER=perldoc
14
+ - POSTGRES_PASSWORD=secret
3
15
web:
4
16
container_name: 'perldoc_web'
5
17
image: perldoc_web
You can’t perform that action at this time.
0 commit comments