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.yaml

22 lines
363 B
YAML
Raw Normal View History

2020-08-17 08:23:00 +02:00
version: '2.4'
services:
django:
2022-02-24 21:11:58 +01:00
image: crocmagnon/blog:dev
build:
context: .
args:
POETRY_OPTIONS: "--no-dev"
2020-08-17 08:23:00 +02:00
env_file:
2021-12-27 22:10:28 +01:00
- envs/local.env
2020-08-17 08:23:00 +02:00
volumes:
- ./db:/db
2020-09-09 18:34:21 +02:00
- staticfiles:/app/staticfiles
- media:/app/media
2020-08-17 08:23:00 +02:00
restart: on-failure
2020-09-09 18:34:21 +02:00
init: true
tty: true
volumes:
staticfiles: {}
media: {}