feat: nieuwe boilerplates + hardcoded waarden variabel gemaakt
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 8s
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 8s
This commit is contained in:
parent
31aa2a3430
commit
e5effe4089
10 changed files with 110 additions and 10 deletions
|
|
@ -6,8 +6,8 @@ services:
|
||||||
- "<< port_web >>:3000"
|
- "<< port_web >>:3000"
|
||||||
- "<< port_ssh >>:22"
|
- "<< port_ssh >>:22"
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=<< puid >>
|
||||||
- USER_GID=1000
|
- USER_GID=<< pgid >>
|
||||||
- FORGEJO__server__SSH_PORT=<< port_ssh >>
|
- FORGEJO__server__SSH_PORT=<< port_ssh >>
|
||||||
- TZ=<< timezone >>
|
- TZ=<< timezone >>
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,27 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Gebruiker",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "puid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PUID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "User ID van de systeemgebruiker (id -u)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pgid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PGID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "Group ID van de systeemgebruiker (id -g)"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Poorten",
|
"title": "Poorten",
|
||||||
"items": [
|
"items": [
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ services:
|
||||||
- "<< port >>:32400"
|
- "<< port >>:32400"
|
||||||
environment:
|
environment:
|
||||||
- TZ=<< timezone >>
|
- TZ=<< timezone >>
|
||||||
- PUID=1000
|
- PUID=<< puid >>
|
||||||
- PGID=1000
|
- PGID=<< pgid >>
|
||||||
<% if plex_claim %>
|
<% if plex_claim %>
|
||||||
- PLEX_CLAIM=<< plex_claim >>
|
- PLEX_CLAIM=<< plex_claim >>
|
||||||
<% endif %>
|
<% endif %>
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,27 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Gebruiker",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "puid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PUID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "User ID van de systeemgebruiker (id -u)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pgid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PGID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "Group ID van de systeemgebruiker (id -g)"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Media",
|
"title": "Media",
|
||||||
"items": [
|
"items": [
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ services:
|
||||||
- "<< port >>:80"
|
- "<< port >>:80"
|
||||||
environment:
|
environment:
|
||||||
- TZ=<< timezone >>
|
- TZ=<< timezone >>
|
||||||
- PUID=1000
|
- PUID=<< puid >>
|
||||||
- PGID=1000
|
- PGID=<< pgid >>
|
||||||
- APP_KEY=<< app_key >>
|
- APP_KEY=<< app_key >>
|
||||||
- DB_CONNECTION=sqlite
|
- DB_CONNECTION=sqlite
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,27 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Gebruiker",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "puid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PUID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "User ID van de systeemgebruiker (id -u)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pgid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PGID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "Group ID van de systeemgebruiker (id -g)"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Beveiliging",
|
"title": "Beveiliging",
|
||||||
"items": [
|
"items": [
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,8 @@ services:
|
||||||
- "<< sync_port >>:22000/udp"
|
- "<< sync_port >>:22000/udp"
|
||||||
environment:
|
environment:
|
||||||
- TZ=<< timezone >>
|
- TZ=<< timezone >>
|
||||||
- PUID=1000
|
- PUID=<< puid >>
|
||||||
- PGID=1000
|
- PGID=<< pgid >>
|
||||||
volumes:
|
volumes:
|
||||||
- << data_dir >>/<< service_name >>/config:/config
|
- << data_dir >>/<< service_name >>/config:/config
|
||||||
- << sync_dir >>:/data
|
- << sync_dir >>:/data
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,27 @@
|
||||||
"required": true
|
"required": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Gebruiker",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "puid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PUID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "User ID van de systeemgebruiker (id -u)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "pgid",
|
||||||
|
"type": "int",
|
||||||
|
"title": "PGID",
|
||||||
|
"default": 1000,
|
||||||
|
"required": true,
|
||||||
|
"description": "Group ID van de systeemgebruiker (id -g)"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "<< port_ui >>:8443"
|
- "<< port_ui >>:8443"
|
||||||
- "<< port_inform >>:8080"
|
- "<< port_inform >>:8080"
|
||||||
- "3478:3478/udp"
|
- "<< port_stun >>:3478/udp"
|
||||||
- "10001:10001/udp"
|
- "<< port_discovery >>:10001/udp"
|
||||||
depends_on:
|
depends_on:
|
||||||
- << service_name >>-mongo
|
- << service_name >>-mongo
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,22 @@
|
||||||
"required": true,
|
"required": true,
|
||||||
"description": "Poort waarop Unifi-apparaten inchecken. Moet bereikbaar zijn voor alle access points en switches."
|
"description": "Poort waarop Unifi-apparaten inchecken. Moet bereikbaar zijn voor alle access points en switches."
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "port_stun",
|
||||||
|
"type": "int",
|
||||||
|
"title": "STUN poort (UDP)",
|
||||||
|
"default": 3478,
|
||||||
|
"required": true,
|
||||||
|
"description": "Gebruikt voor NAT traversal. Vereist voor correct functioneren van Unifi-apparaten."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "port_discovery",
|
||||||
|
"type": "int",
|
||||||
|
"title": "Discovery poort (UDP)",
|
||||||
|
"default": 10001,
|
||||||
|
"required": true,
|
||||||
|
"description": "Gebruikt om Unifi-apparaten op het lokale netwerk automatisch te ontdekken."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "data_dir",
|
"name": "data_dir",
|
||||||
"type": "str",
|
"type": "str",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue