Start to phase in docker
This commit is contained in:
parent
571bb222b7
commit
98c02fe122
2 changed files with 12 additions and 3 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FROM alpine:3.20
|
||||||
|
|
||||||
|
RUN apk add --no-cache ikiwiki
|
||||||
|
COPY . /build
|
||||||
|
WORKDIR /build
|
||||||
|
RUN ikiwiki --refresh --setup ikiwiki.setup
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
COPY --from=0 /tmp/www /usr/share/nginx/html
|
|
@ -16,9 +16,9 @@ use IkiWiki::Setup::Standard {
|
||||||
# users who are banned from the wiki
|
# users who are banned from the wiki
|
||||||
banned_users => [],
|
banned_users => [],
|
||||||
# where the source of the wiki is located
|
# where the source of the wiki is located
|
||||||
srcdir => '/home/nico/vcs/www.nico.schottelius.org',
|
srcdir => '.',
|
||||||
# where to build the wiki
|
# where to build the wiki
|
||||||
destdir => '/tmp/www.nico.schottelius.org',
|
destdir => '/tmp/www',
|
||||||
# base url to the wiki
|
# base url to the wiki
|
||||||
url => 'https://www.nico.schottelius.org/',
|
url => 'https://www.nico.schottelius.org/',
|
||||||
# url to the ikiwiki.cgi
|
# url to the ikiwiki.cgi
|
||||||
|
@ -30,7 +30,7 @@ use IkiWiki::Setup::Standard {
|
||||||
# rcs backend to use
|
# rcs backend to use
|
||||||
rcs => '',
|
rcs => '',
|
||||||
# plugins to add to the default configuration
|
# plugins to add to the default configuration
|
||||||
add_plugins => [qw{git goodstuff meta sidebar tag rawhtml flattr}],
|
add_plugins => [qw{goodstuff meta sidebar tag rawhtml flattr}],
|
||||||
|
|
||||||
flattr_userid => "telmich",
|
flattr_userid => "telmich",
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue