/
/
/
Ansible role that deployes services on my runner machine
1
2services:
3 stirling-pdf:
4 container_name: stirling-pdf
5 image: {{ container_images.stirling_pdf }}
6 restart: unless-stopped
7 environment:
8 - TZ={{ runner_timezone }}
9 - DOCKER_ENABLE_SECURITY=false
10 - SECURITY_ENABLELOGIN=false
11 - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
12 - LANGS=en_US
13 - SYSTEM_DEFAULTLOCALE=en_US
14 - SYSTEM_GOOGLEVISIBILITY=false
15 - SYSTEM_MAXFILESIZE={{ web_tools_stirling_max_file_size }}
16 - UI_APPNAME=Stirling-PDF
17 - UI_HOMEDESCRIPTION=Your locally hosted one-stop-shop for all your PDF needs.
18 - UI_APPNAMENAVBAR=Stirling-PDF
19 - PUID={{ runner_uid }}
20 - PGID={{ runner_gid }}
21 volumes:
22 - {{ web_tools_data_dir }}/stirling-pdf/configs:/configs
23 - {{ web_tools_data_dir }}/stirling-pdf/logs:/logs
24 - {{ web_tools_data_dir }}/stirling-pdf/customFiles:/customFiles
25 - {{ web_tools_data_dir }}/stirling-pdf/pipeline:/pipeline
26 - {{ web_tools_data_dir }}/stirling-pdf/temp:/tmp
27 ports:
28 - "{{ web_tools_stirling_port }}:8080"
29 healthcheck:
30 test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/info/status"]
31 interval: 30s
32 timeout: 10s
33 retries: 3
34 start_period: 60s
35 networks:
36 - {{ runner_docker_network }}
37
38 convertx:
39 container_name: convertx
40 image: {{ container_images.convertx }}
41 restart: unless-stopped
42 environment:
43 - TZ={{ runner_timezone }}
44 - JWT_SECRET={{ web_tools_convertx_jwt_secret }}
45 - ACCOUNT_REGISTRATION=false
46 - ALLOW_UNAUTHENTICATED=true
47 - HTTP_ALLOWED=true
48 - AUTO_DELETE_EVERY_N_HOURS={{ web_tools_convertx_auto_delete_hours }}
49 - HIDE_HISTORY=false
50 volumes:
51 - {{ web_tools_data_dir }}/convertx/data:/app/data
52 ports:
53 - "{{ web_tools_convertx_port }}:3000"
54 healthcheck:
55 test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
56 interval: 30s
57 timeout: 10s
58 retries: 3
59 start_period: 30s
60 networks:
61 - {{ runner_docker_network }}
62
63 cyberchef:
64 container_name: cyberchef
65 image: {{ container_images.cyberchef }}
66 restart: unless-stopped
67 ports:
68 - "{{ web_tools_cyberchef_port }}:80"
69 healthcheck:
70 test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
71 interval: 30s
72 timeout: 10s
73 retries: 3
74 start_period: 10s
75 networks:
76 - {{ runner_docker_network }}
77
78 it-tools:
79 container_name: it-tools
80 image: {{ container_images.it_tools }}
81 restart: unless-stopped
82 ports:
83 - "{{ web_tools_it_tools_port }}:80"
84 healthcheck:
85 test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
86 interval: 30s
87 timeout: 10s
88 retries: 3
89 start_period: 10s
90 networks:
91 - {{ runner_docker_network }}
92
93networks:
94 {{ runner_docker_network }}:
95 external: true
96