adding some docker shit
parent
b6aac85f48
commit
95504d8bd4
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
flask_session
|
||||||
|
bin
|
||||||
|
.venv
|
||||||
|
.git
|
||||||
|
.idea
|
@ -0,0 +1,7 @@
|
|||||||
|
FROM python:slim
|
||||||
|
|
||||||
|
WORKDIR /srv
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN pip3 install -r requirements.txt
|
@ -0,0 +1,14 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
wownero-explorer:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
command: gunicorn --bind 0.0.0.0:4000 "suchwow.app:app"
|
||||||
|
labels:
|
||||||
|
- "traefik.http.routers.http.rule=Host(`localhost`)"
|
||||||
|
- "traefik.http.routers.http.entrypoints=http"
|
||||||
|
environment:
|
||||||
|
FLASK_SECRETS: config.py
|
||||||
|
FLASK_APP: suchwow/app.py
|
||||||
|
ports:
|
||||||
|
- 4000:4000
|
Loading…
Reference in New Issue