blob: f8316af7880d29cf8b86942c14211f43244722ae (
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
85
86
87
88
89
90
91
92
93
94
95
96
97
|
services:
send:
profiles: [services]
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
depends_on:
- redis
cgit:
profiles: [services]
image: 'joseluisq/alpine-cgit:2.9'
restart: always
ports:
- 8080:80
environment:
- VIRTUAL_PORT=80
- VIRTUAL_HOST=git.ediblemonad.dev
- LETSENCRYPT_HOST=git.ediblemonad.dev
- DHPARAM_GENERATION=false
- 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
- ./cgit/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./cgit/filters:/usr/lib/cgit/filters/ediblemonad:ro
- ./favicon.ico:/usr/share/webapps/cgit/favicon.ico:ro
nginx-proxy:
profiles: [core]
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:
profiles: [core]
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
redis:
profiles: [services]
image: 'redis:alpine'
restart: always
volumes:
- redis:/data
volumes:
redis:
cgit-cache:
proxy-certs:
proxy-vhost:
proxy-html:
acme:
|