-
Notifications
You must be signed in to change notification settings - Fork 5
/
psitransfer.yml
61 lines (56 loc) · 2.24 KB
/
psitransfer.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
---
- hosts: homelab
vars:
application: psitransfer
docker_network: "{{ networks.pub }}"
tasks:
- name: Create config folder
ansible.builtin.file:
path: "{{ config_directory }}"
state: directory
owner: "{{ common_user }}"
group: "{{ common_group }}"
mode: "0771"
- name: Create container
ansible.builtin.include_role:
name: docker_container
vars:
image: psitrax/psitransfer:v2.2.0
env:
PSITRANSFER_ADMIN_PASS: !vault |
$ANSIBLE_VAULT;1.1;AES256
65633031663732643031663062636563363937656138376430313563393631376661316531393666
6264666436356165633533373431646431383264653164640a633765353861323534663838353635
30363263303333353532333664376632313466333563316166303139383562626337653534643965
3964653966393666350a306330376535393330326430343630666362336661653363613332616538
34626237633632656363386338366636333734373332623635663964326237626265
PSITRANSFER_UPLOAD_PASS: !vault |
$ANSIBLE_VAULT;1.1;AES256
31653138636531633266353331303261363536376262633961643631623838356239343435356232
3934636639666438656133373833316533643737646433330a346334333462393438633038616138
63653662636335373362396233303064386661666365633730633935666264373363633063386533
3863373964623030300a613335353635393237373165616464653933656334313331383436666361
38303465623963333337353361313637316230373138343766353234373333326262
PSITRANSFER_RETENTIONS: >-
{
"one-time": "one time",
"3600": "1 Hour",
"86400": "1 Day",
"604800": "1 Week",
"2629800": "1 Month",
"15778800": "6 Months",
"31557600": "1 Year"
}
PSITRANSFER_DEFAULT_RETENTION: "86400"
PSITRANSFER_MAX_AGE: "604800"
volumes:
- "{{ config_directory }}:/data"
traefik:
- port: 3000
rule: Host(`share.{{ common_tld }}`)
homepage:
name: PsiTransfer
group: Sharing
weight: 890
description: "File sharing"
href: "https://share.{{ common_tld }}"