📦 EqualifyEverything / lets-go

📄 docker-compose.yml · 131 lines
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131version: '3.8'

services:

# Workers
    scan-axe:
        image: equalifyapp/integration-axe:latest
        environment:
            - APP_PORT=8083
            - RABBIT_USERNAME=worker_axe
            - RABBIT_PASSWORD=drop_the_axe
            - RABBIT_HOST=rabbit
            - RABBIT_VHOST=gova11y
            - USE_PROXY=true
            - PROXY_HTTP=a11yproxy:8888
            - PROXY_HTTPS=a11yproxy:8888
            - LOG_LEVEL
        networks:
            - gova11y-int
        depends_on:
            - rabbit
            - nginx
        deploy:
            replicas: 2
            restart_policy:
                condition: on-failure

    scan-uppies:
        image: equalifyapp/integration-uppies:latest
        environment:
            - APP_PORT=8083
            - RABBIT_USERNAME=worker_uppies
            - RABBIT_PASSWORD=pass_the_uppies_please
            - RABBIT_HOST=rabbit
            - RABBIT_VHOST=gova11y
            - USE_PROXY=true
            - PROXY_HTTP=a11yproxy:8888
            - PROXY_HTTPS=a11yproxy:8888
            - LOG_LEVEL
        networks:
            - gova11y-int
        depends_on:
            - rabbit
            - nginx
        deploy:
            replicas: 1
            restart_policy:
                condition: on-failure



# RabbitMQ Service
    rabbit:
        image: equalifyapp/a11y-rabbit:latest
        ports:
            - "4369:4369/tcp"
            - "5672:5672/tcp"
            - "15672:15672/tcp"
        networks:
            - gova11y-int
        deploy:
          restart_policy:
              condition: on-failure

# Matrix

    matrix:
        image: equalifyapp/a11ymatrix:latest
        ports:
            - "8087:8087/tcp"
        networks:
            - gova11y-int
            - gova11y-ext
        depends_on:
            - rabbit
        deploy:
            restart_policy:
                condition: on-failure

# Rabbit Hole - Insert values to Postgres

    rabbit-hole:
        image: equalifyapp/rabbit-hole:latest
        ports:
            - "8084:8084"
        networks:
            - gova11y-int
            - gova11y-ext
        depends_on:
            - rabbit
        deploy:
            restart_policy:
                condition: on-failure


    a11yproxy:
        image: qmcgaw/gluetun:latest
        cap_add:
            - NET_ADMIN
        environment:
            - VPN_SERVICE_PROVIDER=mullvad
            - VPN_TYPE=wireguard
            - WIREGUARD_PRIVATE_KEY
            - WIREGUARD_ADDRESSES=10.65.90.193/32
            - SERVER_COUNTRIES=USA
            # HTTP Proxy: https://github.com/qdm12/gluetun/wiki/HTTP-proxy-options
            - HTTPPROXY=on
            - HTTPPROXY_LOG=on
            - HTTPPROXY_LISTENING_ADDRESS=:8888
            # DNS: https://github.com/qdm12/gluetun/wiki/DNS-options
            - DNS_ADDRESS=192.168.1.56
            - DOT_PRIVATE_ADDRESS=172.172.172.172
            - BLOCK_MALICIOUS=off
            - DOT_CACHING=off
            - DOT=off
            # Other Options: https://github.com/qdm12/gluetun/wiki/Other-options
            - TZ=AMERICA/NEW_YORK
            # Firewall: https://github.com/qdm12/gluetun/wiki/Firewall-options
            - FIREWALL_DEBUG=on
        deploy:
            replicas: 1
            restart_policy:
                condition: on-failure
        networks:
            - gova11y-int


networks:
    gova11y-int:
    gova11y-ext:
    gova11y-proxy: