-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.aur-dev.yml
67 lines (58 loc) · 1.44 KB
/
docker-compose.aur-dev.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
services:
ca:
volumes:
- data:/data
- step:/root/.step
redis:
restart: always
mariadb:
restart: always
git:
restart: always
environment:
- AUR_CONFIG=/aurweb/conf/config
# SSH_CMDLINE should be updated to production's ssh cmdline.
- SSH_CMDLINE=${SSH_CMDLINE:-ssh ssh://aur@localhost:2222}
volumes:
- ${GIT_DATA_DIR}:/aurweb/aur.git
- data:/aurweb/data
smartgit:
restart: always
volumes:
- ${GIT_DATA_DIR}:/aurweb/aur.git
- data:/data
- smartgit_run:/var/run/smartgit
cgit-fastapi:
restart: always
volumes:
- ${GIT_DATA_DIR}:/aurweb/aur.git
cron:
volumes:
# Exclude ./aurweb:/aurweb in production.
- mariadb_run:/var/run/mysqld
- archives:/var/lib/aurweb/archives
fastapi:
restart: always
environment:
- COMMIT_HASH=$COMMIT_HASH
- FASTAPI_BACKEND="gunicorn"
- FASTAPI_WORKERS=${FASTAPI_WORKERS}
- AURWEB_FASTAPI_PREFIX=${AURWEB_FASTAPI_PREFIX}
- AURWEB_SSHD_PREFIX=${AURWEB_SSHD_PREFIX}
- PROMETHEUS_MULTIPROC_DIR=/tmp_prometheus
volumes:
- data:/data
nginx:
restart: always
volumes:
- data:/data
- archives:/var/lib/aurweb/archives
- smartgit_run:/var/run/smartgit
volumes:
mariadb_run: {} # Share /var/run/mysqld
mariadb_data: {} # Share /var/lib/mysql
git_data: {} # Share aurweb/aur.git
smartgit_run: {}
data: {}
logs: {}