blob: f6a02f80f76e75e4f5d9b99f2d988e481fe56ee4 (
plain) (
blame)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
services:
nginx-proxy:
container_name: nginx-proxy
image: 'jwilder/nginx-proxy:alpine'
restart: always
ports:
- '80:80'
- '443:443'
environment:
- DEFAULT_HOST=ediblemonad.dev
- HSTS=off
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- proxy-certs:/etc/nginx/certs:ro
- proxy-vhost:/etc/nginx/vhost.d
- proxy-html:/usr/share/nginx/html
proxy-letsencrypt:
image: 'nginxproxy/acme-companion'
restart: always
environment:
- DEFAULT_EMAIL=ediblemonad@gmail.com
- NGINX_PROXY_CONTAINER=nginx-proxy
- NGINX_DOCKER_GEN_CONTAINER=nginx-proxy
- ACME_CA_URI=https://acme-staging-v02.api.letsencrypt.org/directory
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- proxy-certs:/etc/nginx/certs
- proxy-vhost:/etc/nginx/vhost.d
- proxy-html:/usr/share/nginx/html
- acme:/etc/acme.sh
send:
image: 'registry.gitlab.com/timvisee/send:v3.4.27'
restart: always
ports:
- '1234:1234'
volumes:
- ./uploads:/uploads
environment:
- VIRTUAL_PORT=1234
- VIRTUAL_HOST=send.ediblemonad.dev
- LETSENCRYPT_HOST=send.ediblemonad.dev
- DHPARAM_GENERATION=false
# - LETSENCRYPT_EMAIL=ediblemonad@gmail.com
- NODE_ENV=production
- BASE_URL=https://send.ediblemonad.dev
- PORT=1234
- REDIS_HOST=redis
- FILE_DIR=/uploads
# upload limits
- EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000,31536000
- DEFAULT_EXPIRE_SECONDS=86400
- MAX_EXPIRE_SECONDS=31536000
- MAX_DOWNLOADS=100
- MAX_FILE_SIZE=1073741824
redis:
image: 'redis:alpine'
restart: always
volumes:
- redis:/data
cgit:
image: 'joseluisq/alpine-cgit:2.9'
ports:
- 8080:80
- '1234:1234'
environment:
- USE_CUSTOM_CONFIG=true
volumes:
- cgit-cache:/var/cache/cgit
- /home/imsohexy/dev/projects:/srv/git:ro
- ./cgit/cgitrc:/etc/cgitrc:ro
- ./cgit/static:/usr/share/webapps/cgit/ediblemonad:ro
- ./favicon.ico:/usr/share/webapps/cgit/favicon.ico:ro
volumes:
redis:
cgit-cache:
proxy-certs:
proxy-vhost:
proxy-html:
acme:
|