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:
parent
c9dbc6fba4
commit
001dbadf9e
3 changed files with 25 additions and 0 deletions
6
.dockerignore
Normal file
6
.dockerignore
Normal file
|
@ -0,0 +1,6 @@
|
|||
__pycache__
|
||||
config.json
|
||||
planning.txt
|
||||
README.md
|
||||
.git
|
||||
.vscode
|
4
Dockerfile
Normal file
4
Dockerfile
Normal 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
15
docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue