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
329 B
YAML

version: '2.4'
services:
django:
image: crocmagnon/blog
build: .
ports:
- 8000:8000
env_file:
- .env
volumes:
- ./db:/db
- ./static:/app/staticfiles
restart: on-failure
tests:
image: crocmagnon/blog
build: .
command: ["/app/docker/runtests.sh"]
healthcheck: {}