add tandoor
This commit is contained in:
parent
44dbc9c59b
commit
201c857063
2 changed files with 32 additions and 0 deletions
tandoor
19
tandoor/compose.yml
Normal file
19
tandoor/compose.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
services:
|
||||
web_recipes:
|
||||
restart: always
|
||||
image: vabene1111/recipes
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- ${TANDOOR_STATIC}:/opt/recipes/staticfiles
|
||||
- ${TANDOOR_MEDIAS}:/opt/recipes/mediafiles
|
||||
networks:
|
||||
- rick_db
|
||||
- tandoor
|
||||
|
||||
networks:
|
||||
rick_db:
|
||||
name: rick_db
|
||||
external: true
|
||||
tandoor:
|
||||
driver: bridge
|
13
tandoor/env.example
Normal file
13
tandoor/env.example
Normal file
|
@ -0,0 +1,13 @@
|
|||
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
|
||||
SECRET_KEY=
|
||||
ALLOWED_HOSTS=
|
||||
DB_ENGINE=django.db.backends.postgresql
|
||||
POSTGRES_HOST=rick_db
|
||||
POSTGRES_DB=tandoor
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=psql
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
TANDOOR_STATIC=/opt/tandoor/static
|
||||
TANDOOR_MEDIAS=/opt/tandoor/medias
|
||||
|
Loading…
Add table
Reference in a new issue