-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (37 loc) · 991 Bytes
/
docker-compose.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
version: '3'
services:
# proxy.py instance
proxy:
build:
context: .
dockerfile: docker/Dockerfile
image: uapproxy
command: proxy
ports:
- 3128:8899
environment:
# TODO: you must change the secret
SECRET_KEY: django-insecure--szpmg)pmgr*f*mm%7$ua1!62(p3il*78(cy%4dld3dv!@eg7m
volumes:
- sqlite-data:/srv/data/db
# Django admin frontend
django:
image: uapproxy
command: django
environment:
# TODO: you must change the secret
SECRET_KEY: django-insecure--szpmg)pmgr*f*mm%7$ua1!62(p3il*78(cy%4dld3dv!@eg7m
volumes:
- sqlite-data:/srv/data/db
# static assets for Django admin
static:
image: uapproxy
command: static
# # cache
# redis:
# image: redis:6.0.16-alpine
# # TODO: Adjust max memory!
# # TODO: Set your redis secret!
# command: redis-server --maxmemory 4096mb --maxmemory-policy volatile-lfu --requirepass {{ redis_secret }}
volumes:
sqlite-data: