@ -25,7 +25,7 @@
# - role: server/node
# domain: keys.banananet.work
# repo: git@git.banananet.work:banananetwork/keys.git
# app_port: 12822
# bind_port: 12822
# system_user: keys-banananet-work
# Nextcloud Server
- role: server/nextcloud
@ -118,7 +118,7 @@
# domain: dsa.banananet.work
# repo: git@git.banananet.work:dsaGroup/dsaPage.git
# app_port: 12821
# bind_port: 12821
# system_user: dsaPage
# Forum der Schande
- role: server/php
@ -20,7 +20,7 @@
- role: server/node
domain: keys.banananet.work
repo: git@git.banananet.work:banananetwork/keys.git
app_port: 12822
bind_port: 12822
system_user: keys-banananet-work
environment_vars:
REGISTER_PASS: "{{ global_ip_discover_register_pass }}"
@ -4,7 +4,7 @@
service_name: "{{ domain }}.service"
# TODO Socket
# app_port
# bind_port
# repo
# system_user: "nodejs"
@ -18,4 +18,4 @@ dependencies:
# reload_command
- role: nginx/proxy
# domain
backend_port: "{{ app_port }}"
backend_port: "{{ bind_port }}"
@ -14,7 +14,7 @@ ExecStart=/usr/bin/npm start
Environment="USER={{ system_user }}"
Environment="HOME={{ user_directory }}"
Environment="NODE_ENV=production"
Environment="PORT={{ app_port }}"
Environment="PORT={{ bind_port }}"
Environment="DOMAIN={{ domain }}"
Environment="DATABASE_HOST=127.0.0.1"
Environment="DATABASE_PORT=3306"