This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
/
fig.yml
62 lines (55 loc) · 1.54 KB
/
fig.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
rabbitmq:
image: dockerfile/rabbitmq:latest
expose:
- 5672
ports:
- 15672:15672
registry:
image: registry:latest
environment:
SETTINGS_FLAVOR: local
SEARCH_BACKEND: sqlalchemy
expose:
- 5000
volumes:
- /storage/registry:/tmp/registry
registryUI:
image: mosquito/docker-registry-ui:latest
ports:
- 8081:80
postfix:
image: catatnight/postfix:latest
hostname: lumper.example.com
environment:
maildomain: mail.lumper.example.com
smtp_user: lumper:lumper
expose:
- 25
mailer:
image: mosquito/lumper:latest
entrypoint: /usr/local/bin/autorestart.sh
command: lumper mailer --admin-mail="admin@example.com" --smtp-sender="build@example.com" --smtp-host postfix --smtp-port 25 --smtp-user lumper --smtp-password lumper -a rabbitmq -U guest -P guest --logging=debug --mail-map /tmp/mailmap.json
#volumes:
# - /storage/mailmap.json:/tmp/mailmap.json
links:
- postfix
- rabbitmq
worker:
image: mosquito/lumper:latest
links:
- rabbitmq
- registry
entrypoint: /usr/local/bin/autorestart.sh
command: lumper worker --docker-url="tcp://172.18.0.1:4142" -a rabbitmq --docker-registry="127.0.0.1:5000" -U guest -P guest --logging=debug --docker-publish
environment:
HOME: /root
volumes:
# add ssh keys there .ssh/{known_hosts,id_rsa} and add key to git[hub|lab]
- /storage/worker:/root
backend:
image: mosquito/lumper:latest
expose:
- 8000
links:
- rabbitmq
command: server -p 8000 -a 0.0.0.0 -A rabbitmq --user=guest --password=guest --logging=debug -T 1800