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

19 lines
331 B
YAML
Raw Normal View History

2020-08-17 08:23:00 +02:00
version: '2.4'
services:
django:
2020-08-21 14:32:01 +02:00
image: crocmagnon/blog:latest
2020-08-17 08:23:00 +02:00
build: .
ports:
- 8000:8000
env_file:
- .env
volumes:
- ./db:/db
- ./static:/app/staticfiles
2020-08-17 08:23:00 +02:00
restart: on-failure
tests:
2020-08-21 14:32:01 +02:00
image: crocmagnon/blog:tests
build:
context: .
dockerfile: tests.Dockerfile