-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ (ascii-facemaker): Added a new Ansible role for
ascii-facemaker
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: "3.8" | ||
|
||
services: | ||
linkstack: | ||
image: theobori/ascii-facemaker:1.0 | ||
container_name: ascii-facemaker | ||
ports: | ||
- "127.0.0.1:9999:80" | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- name: Include service role | ||
ansible.builtin.include_role: | ||
name: "service" | ||
vars: | ||
service_name: "ascii-facemaker" | ||
service_fqdn: "ascii-facemaker.{{ domain }}" | ||
service_nginx_port: "9999" | ||
service_certbot: true | ||
service_nginx: true | ||
service_docker_compose: true | ||
service_systemd_service: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
server { | ||
include listen-443; | ||
server_name {{ server_name }}; | ||
|
||
include ssl_params; | ||
ssl_certificate /etc/letsencrypt/live/{{ server_name }}/fullchain.pem; | ||
ssl_certificate_key /etc/letsencrypt/live/{{ server_name }}/privkey.pem; | ||
|
||
include header_params; | ||
|
||
location / { | ||
include proxy_params; | ||
|
||
proxy_pass http://127.0.0.1:{{ server_port }}/; | ||
} | ||
} |