mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 17:21:43 +02:00
Integrate dockerized Mongodb configuration
This commit is contained in:
11
backend/docker/Dockerfile
Normal file
11
backend/docker/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM tiangolo/uwsgi-nginx-flask:python3.7
|
||||
|
||||
RUN pip install requests
|
||||
|
||||
RUN pip install pandas
|
||||
|
||||
RUN pip install Flask-BasicAuth
|
||||
|
||||
RUN pip install bs4
|
||||
|
||||
COPY ../app /app
|
14
backend/docker/docker-compose.dev.yml
Normal file
14
backend/docker/docker-compose.dev.yml
Normal file
@ -0,0 +1,14 @@
|
||||
version: '2'
|
||||
services:
|
||||
mongo:
|
||||
extends:
|
||||
file: docker-compose.yml
|
||||
service: mongo
|
||||
|
||||
mongo-express:
|
||||
depends_on:
|
||||
- mongo
|
||||
image: mongo-express
|
||||
restart: always
|
||||
ports:
|
||||
- "8081:8081"
|
12
backend/docker/docker-compose.yml
Normal file
12
backend/docker/docker-compose.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: '2'
|
||||
services:
|
||||
mongo:
|
||||
image: mongo
|
||||
restart: always
|
||||
ports:
|
||||
- "27017:27017"
|
||||
|
||||
backend:
|
||||
depends_on:
|
||||
- mongo
|
||||
build: .
|
Reference in New Issue
Block a user