-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathargo.compose
45 lines (33 loc) · 987 Bytes
/
argo.compose
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
version: '3.7'
networks:
frontend:
name: backend
internal: true
services:
argo:
container_name: argo
hostname: argo
image: "ironpeakservices/iron-argo"
tty: false
restart: "on-failure:5"
# note: this will prevent autoupdate from working, and why we disable it
# since updates do not provide a static build for a scratch image.
read_only: true
security_opt:
- "no-new-privileges"
# only on compose version 2.x
#pids_limit: 1
cap_drop:
- ALL
networks:
- backend
deploy:
resources:
limits:
memory: 4GB
# tunnel exposes a local service to a global url on cloudflare
# for exposing SSH/RDP, use access
command: ["--no-autoupdate", "tunnel"]
environment:
- HOSTNAME=app.company.com
- TUNNEL_HELLO_WORLD=1