Compare commits

...

1 Commits

Author SHA1 Message Date
Benoît Latinier fb23f4079d add: some docker config
6 years ago

@ -0,0 +1,15 @@
FROM python:3.6
ARG ISSO_VER=0.10.6
RUN apt-get update && apt-get install -y python-dev \
libffi-dev \
sqlite3 \
openssl \
&& pip install --no-cache "isso==${ISSO_VER}" \
&& rm -rf /tmp/*
EXPOSE 8081
VOLUME /db /config
CMD ["isso", "-c", "/config/isso.conf", "run"]

@ -0,0 +1,13 @@
version: '2.0'
services:
isso:
build: ./
environment:
- GID=1000
- UID=1000
volumes:
- /mnt/docker/isso/config:/config
- /mnt/docker/isso/db:/db
ports:
- 8081:8081

@ -0,0 +1,17 @@
<!DOCTYPE html>
<head>
<title>Isso Demo</title>
<meta charset="utf-8">
</head>
<body>
<div id="page" style="text-align:center;">
<div id="wrapper" style="width: 900px; text-align: left; margin-left: auto; margin-right: auto;">
<h2><a href="index.docker.html">Isso Demo</a></h2>
<script src="http://localhost:8081/js/embed.min.js"></script>
<section id="isso-thread" data-title="Isso Test"></section>
</div>
</div>
</body>
Loading…
Cancel
Save