Running Crudcast in production¶
We recommend using Docker to run Crudcast in production. Here’s a very simple example using docker-compose:
Folder structure¶
Create the following three files in the same folder:
- docker-compose.yml
- Dockerfile
- config.yml
Docker-compose.yml¶
# docker-compose.yml
version: '3'
services:
crudcast:
build: ./
ports:
- "5000:5000"
links:
- mongodb
mongodb:
image: mongo
Dockerfile¶
FROM python:3.6-alpine
RUN pip install
COPY config.yml /
WORKDIR /
CMD crudcast --host 0.0.0.0