added woodpecker settings

feature/thumbnails
mtyton 2023-09-11 22:15:48 +02:00
rodzic 91381920e0
commit f08033f886
3 zmienionych plików z 40 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,22 @@
steps:
build:
image: debian
secrets: []
commands:
- docker-compose -f artel/docker-compose-test.yml build
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
test:
image: debian
secrets: []
commands:
- docker-compose -f artel/docker-compose-test.yml run --rm test_comfy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}

Wyświetl plik

@ -0,0 +1,18 @@
from .base import *
# SECURITY WARNING: define the correct hosts in production!
ALLOWED_HOSTS = ["*"]
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = "smtp-server"
EMAIL_HOST_USER = None
EMAIL_HOST_PASSWORD = None
EMAIL_PORT = 1025
EMAIL_USE_TLS = False
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'mtyton@tepewu.pl')
try:
from .local import *
except ImportError:
pass