Skip to content

Commit 9c4a7b0

Browse files
dommandk
authored andcommitted
enable pause-2026, use cpm
1 parent 7803fac commit 9c4a7b0

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

Containerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN useradd -m --shell /bin/bash pause
99
WORKDIR /home/pause
1010

1111
COPY cpanfile cpanfile
12-
RUN cpanm -n --installdeps .
12+
RUN cpm install -g
1313

1414
COPY docker-compose/setup.sh /setup.sh
1515
RUN /setup.sh
@@ -24,5 +24,6 @@ COPY --chown=pause cron cron
2424
COPY --chown=pause bin bin
2525
COPY --chown=pause lib lib
2626
COPY --chown=pause app_2017.psgi app_2017.psgi
27+
COPY --chown=pause app_2026.psgi app_2026.psgi
2728

28-
CMD ["plackup","app_2017.psgi"]
29+
CMD ["plackup","app_2026.psgi"]

doc/local-dev-docker-compose.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ You will need:
1313

1414
* `docker compose up`
1515
* Go to `http://pause.localhost:8080`
16+
* It might happen that your browser redirects to `https://pause.localhost:8080`, which won't work. If this happens, adjust the protocol in the browser address bar and reload.
1617
* Login with userid `testuser`, password `test`
1718
* Play around with it!
18-
* Read mail sent by pause at `http://localhost:8025`
19+
* Read mail sent by PAUSE at `http://localhost:8025`
1920
* `docker compose down`
2021

2122
The setup will persist after `docker compose down`.
@@ -87,15 +88,15 @@ The `pause` Plack app (currently `app_2017`) providing the web interface. Runs o
8788

8889
### paused
8990

90-
The pause daemon handling uploads. Logs to `/pause-run/log/paused.log`.
91+
The PAUSE daemon handling uploads. Logs to `/pause-run/log/paused.log`.
9192

9293
To tail the log from the host, do:
9394

9495
`docker compose exec paused tail -f /pause-run/log/paused.log`
9596

9697
### mysql
9798

98-
The mysql database server. It contains the pause schema, 3 test users, but no further data. Data will persist between restart of the service.
99+
The mysql database server. It contains the PAUSE schema, 3 test users, but no further data. Data will persist between restart of the service.
99100

100101
To connect to the database from the host, do:
101102

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
depends_on:
2424
- mysql
2525
- mail
26-
command: plackup -p 5000 -R /home/pause/lib/pause_2017 app_2017.psgi
26+
command: plackup -p 5000 -R /home/pause/lib/pause_2026 app_2026.psgi
2727
paused:
2828
<<: *pause
2929
ports: []

0 commit comments

Comments
 (0)