summaryrefslogtreecommitdiff
path: root/playbooks/roles/traextor/templates
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/roles/traextor/templates')
-rw-r--r--playbooks/roles/traextor/templates/stacks/docker-compose.yml12
-rw-r--r--playbooks/roles/traextor/templates/volumes/certs/.gitkeep0
-rw-r--r--playbooks/roles/traextor/templates/volumes/shared/.gitkeep0
-rw-r--r--playbooks/roles/traextor/templates/volumes/traextor/.gitkeep0
4 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/roles/traextor/templates/stacks/docker-compose.yml b/playbooks/roles/traextor/templates/stacks/docker-compose.yml
new file mode 100644
index 0000000..9012365
--- /dev/null
+++ b/playbooks/roles/traextor/templates/stacks/docker-compose.yml
@@ -0,0 +1,12 @@
+services:
+ traextor:
+ image: djarbz/traextor
+ volumes:
+ - {{ traextor_base }}/volumes/shared:/shared
+ - {{ traefik_base }}/volumes/certs/acme.json:/acme.json
+ - {{ traextor_base }}/volumes/certs:/certs
+ - /var/run/docker.sock:/var/run/docker.sock
+ command: -H unix:///var/run/docker.sock
+ environment:
+ TZ: {{ timezone }}
+ OUTPUT_DIR: /certs
diff --git a/playbooks/roles/traextor/templates/volumes/certs/.gitkeep b/playbooks/roles/traextor/templates/volumes/certs/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/playbooks/roles/traextor/templates/volumes/certs/.gitkeep
diff --git a/playbooks/roles/traextor/templates/volumes/shared/.gitkeep b/playbooks/roles/traextor/templates/volumes/shared/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/playbooks/roles/traextor/templates/volumes/shared/.gitkeep
diff --git a/playbooks/roles/traextor/templates/volumes/traextor/.gitkeep b/playbooks/roles/traextor/templates/volumes/traextor/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/playbooks/roles/traextor/templates/volumes/traextor/.gitkeep