-
Notifications
You must be signed in to change notification settings - Fork 0
/
ufsc.sites.yml
50 lines (46 loc) · 1.55 KB
/
ufsc.sites.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.5'
services:
django:
build:
context: .
dockerfile: ./compose/production/django/Dockerfile
# image: registry.codigos.ufsc.br/lacaf/plataforma-ccr:latest
depends_on:
- postgres
ports:
- 5000:5000
environment:
USE_DOCKER: yes
IPYTHONDIR: /app/.ipython
REDIS_URL: redis://redis:6379/0
CELERY_FLOWER_USER: gytLESIQnemhJHhaRvjIAeaKVMoqTuMh
CELERY_FLOWER_PASSWORD: w0uNckBJC3IBfdYRJMYlFQDvQCr4i9m4qIxHMVzYHfDLrnOh9SQIPy20MKN6mZUq
DJANGO_EMAIL_BACKEND: django.core.mail.backends.console.EmailBackend
DJANGO_EMAIL_HOST: ""
DJANGO_EMAIL_HOST_USER: ""
DJANGO_EMAIL_HOST_PASSWORD: ""
DJANGO_SETTINGS_MODULE: config.settings.production
DJANGO_SECRET_KEY: "teste"
DJANGO_ADMIN_URL: "admin"
DJANGO_ALLOWED_HOSTS: "localhost"
USE_X_FORWARDED_HOST: True
DJANGO_SECURE_SSL_REDIRECT: False
SECURE_PROXY_SSL_HEADER: ('HTTP_X_FORWARDED_PROTO', 'https')
POSTGRES_HOST: &db-host postgres
POSTGRES_PORT: &db-port 5432
POSTGRES_DB: &db-name celulas_responsaveis
POSTGRES_USER: &db-user hyaMbuEzMGImMkurnGIMBMkonYyHWZlZ
POSTGRES_PASSWORD: &db-pass 6QbBWrm7kfR9Ub8g2YiB11OabezSWAXJrv8IO5c4HKda9OxMIMIfnXuJuao4YcG3
command: /start
postgres:
image: postgres:14
volumes:
- postgres_data:/var/lib/postgresql/data:Z
environment:
POSTGRES_HOST: *db-host
POSTGRES_PORT: *db-port
POSTGRES_DB: *db-name
POSTGRES_USER: *db-user
POSTGRES_PASSWORD: *db-pass
volumes:
postgres_data: