-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.yml
53 lines (51 loc) · 1.16 KB
/
test.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
50
51
52
53
version: '3.6'
services:
psql:
environment:
- PGDATA=/dev/shm/pgdata/data
tmpfs:
- /dev/shm/pgdata/data
redis_db:
tmpfs:
- /data
runserver:
build:
context: ../
target: local
image: transmission-django-dev
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
ports:
- "8000:8000"
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
networks:
default:
aliases:
- transmission-runserver
portal:
aliases:
- transmission-runserver
links:
- psql
- redis_db
- minio
volumes:
- ../:/app
- ./django/pip.cache:/build/pip.volume
environment:
- PYTHONDONTWRITEBYTECODE=1
- DJANGO_SETTINGS_MODULE=settings
- ENV
- SECRET_KEY
- SERVICE=runserver
- REDIS_URL
- ENGINE_RPC_URL=http://engine-rpc:2000
- INTERNAL_URL=http://transmission-runserver:8000
- PROFILES_URL #http://profiles-runserver:8000
- ELASTICSEARCH_URL
- AWS_ACCESS_KEY_ID=TEST-DEV-KEY
- AWS_SECRET_ACCESS_KEY=NON-TRIVIAL-SECRETKEY
- LOG_LEVEL
- FORCE_DEBUG