This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/_ansible/roles/tandoor/vars/main.yml

64 lines
1.4 KiB
YAML
Raw Normal View History

2023-12-13 01:43:15 +00:00
---
2023-12-14 01:20:13 +00:00
tandoor_svc:
2023-12-13 01:43:15 +00:00
domain: recipes.serguzim.me
2023-12-09 16:35:28 +00:00
name: tandoor
port: 80
db:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
database: tandoor
user: "{{ vault_tandoor.db.user }}"
pass: "{{ vault_tandoor.db.pass }}"
2023-12-14 01:20:13 +00:00
tandoor_env:
2023-12-09 16:35:28 +00:00
DEBUG: 0
SQL_DEBUG: 0
ALLOWED_HOSTS: recipes.serguzim.me
2023-12-09 16:39:37 +00:00
SECRET_KEY: "{{ vault_tandoor.secret_key }}"
2023-12-09 19:12:42 +00:00
TZ: "{{ timezone }}"
2023-12-09 16:35:28 +00:00
DB_ENGINE: django.db.backends.postgresql
2023-12-13 01:43:15 +00:00
DB_OPTIONS: '{"sslmode": "require"}'
2023-12-09 16:35:28 +00:00
POSTGRES_HOST: "{{ svc.db.host }}"
POSTGRES_PORT: "{{ svc.db.port }}"
POSTGRES_DB: "{{ svc.db.database }}"
POSTGRES_USER: "{{ svc.db.user }}"
POSTGRES_PASSWORD: "{{ svc.db.pass }}"
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
ENABLE_SIGNUP: 0
ENABLE_METRICS: 1
ENABLE_PDF_EXPORT: 1
SOCIAL_DEFAULT_ACCESS: 1
SOCIAL_DEFAULT_GROUP: guest
2023-12-14 01:20:13 +00:00
tandoor_compose:
2023-12-09 16:35:28 +00:00
watchtower: true
image: nginx:mainline-alpine
volumes:
- nginx_config:/etc/nginx/conf.d:ro
- staticfiles:/static
- mediafiles:/media
file:
services:
web_recipes:
image: vabene1111/recipes
restart: always
labels:
com.centurylinklabs.watchtower.enable: true
env_file:
- service.env
volumes:
- staticfiles:/opt/recipes/staticfiles
- nginx_config:/opt/recipes/nginx/conf.d
- mediafiles:/opt/recipes/mediafiles
networks:
default:
2023-12-09 16:35:28 +00:00
volumes:
nginx_config:
staticfiles:
mediafiles: