This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/docker-compose.yml

18 lines
331 B
YAML

version: '2.4'
services:
django:
image: crocmagnon/blog:latest
build: .
ports:
- 8000:8000
env_file:
- .env
volumes:
- ./db:/db
- ./static:/app/staticfiles
restart: on-failure
tests:
image: crocmagnon/blog:tests
build:
context: .
dockerfile: tests.Dockerfile