server/spotme: Renamed variable spotme_port to bind_port

dehydrated
Felix Stupp 5 years ago
parent 7e0df4abc5
commit f6c1aff55a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -4,7 +4,7 @@ domain: "spotme.localhost"
spotme_system_user: "{{ domain | regex_replace('[^A-Za-z0-9-]+', '-') }}" spotme_system_user: "{{ domain | regex_replace('[^A-Za-z0-9-]+', '-') }}"
spotme_service_name: "{{ domain }}.service" spotme_service_name: "{{ domain }}.service"
spotme_port: 12820 bind_port: 12820
spotme_user_directory: "{{ global_webservers_directory }}/{{ domain }}" spotme_user_directory: "{{ global_webservers_directory }}/{{ domain }}"
spotme_installation_directory: "{{ spotme_user_directory }}/server" spotme_installation_directory: "{{ spotme_user_directory }}/server"

@ -8,4 +8,4 @@ dependencies:
- role: mysql/database - role: mysql/database
# database_user # database_user
- role: nginx/proxy - role: nginx/proxy
backend_port: "{{ spotme_port }}" backend_port: "{{ bind_port }}"

@ -14,7 +14,7 @@ ExecStart=/usr/bin/npm start
Environment="USER={{ spotme_system_user }}" Environment="USER={{ spotme_system_user }}"
Environment="HOME={{ spotme_user_directory }}" Environment="HOME={{ spotme_user_directory }}"
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
Environment="PORT={{ spotme_port }}" Environment="PORT={{ bind_port }}"
Environment="DATABASE_HOST=127.0.0.1" Environment="DATABASE_HOST=127.0.0.1"
Environment="DATABASE_PORT=3306" Environment="DATABASE_PORT=3306"
Environment="DATABASE_USERNAME={{ database_user }}" Environment="DATABASE_USERNAME={{ database_user }}"

Loading…
Cancel
Save