1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-12-27 14:58:59 +00:00

started work on docker stuff

This commit is contained in:
Lynne Megido 2019-09-17 20:00:38 +10:00
parent c9dbc6fba4
commit 001dbadf9e
3 changed files with 25 additions and 0 deletions

6
.dockerignore Normal file
View file

@ -0,0 +1,6 @@
__pycache__
config.json
planning.txt
README.md
.git
.vscode

4
Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM python:3.7-slim-buster
WORKDIR /fedibooks
COPY . fedibooks
RUN pip install -r requirements.txt

15
docker-compose.yml Normal file
View file

@ -0,0 +1,15 @@
version: '3'
services:
fedibooks:
build: .
links:
- db
ports:
5000:5000
db:
image: mariadb/server:10.4
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: fedibooks
MARIADB_USER: fedibooks
MARIADB_PASSWORD: fedibooks