mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
Renamed landing page to portfolio and implemented config.yaml file for it
This commit is contained in:
parent
b42fb280eb
commit
fb4cc305c2
@ -146,7 +146,7 @@ domain_friendica: "friendica.{{top_domain}}"
|
|||||||
domain_funkwhale: "music.{{top_domain}}"
|
domain_funkwhale: "music.{{top_domain}}"
|
||||||
domain_gitea: "git.{{top_domain}}"
|
domain_gitea: "git.{{top_domain}}"
|
||||||
domain_gitlab: "gitlab.{{top_domain}}"
|
domain_gitlab: "gitlab.{{top_domain}}"
|
||||||
domain_landingpage: "{{top_domain}}"
|
domain_portfolio: "{{top_domain}}"
|
||||||
domain_listmonk: "newsletter.{{top_domain}}"
|
domain_listmonk: "newsletter.{{top_domain}}"
|
||||||
domain_mailu: "{{system_email_host}}"
|
domain_mailu: "{{system_email_host}}"
|
||||||
domain_mastodon: "microblog.{{top_domain}}"
|
domain_mastodon: "microblog.{{top_domain}}"
|
||||||
|
@ -277,13 +277,13 @@
|
|||||||
domain: "{{domain_friendica}}"
|
domain: "{{domain_friendica}}"
|
||||||
http_port: 8028
|
http_port: 8028
|
||||||
|
|
||||||
- name: setup landingpage
|
- name: setup portfolio
|
||||||
hosts: landingpage
|
hosts: portfolio
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: docker-landingpage
|
- role: docker-portfolio
|
||||||
vars:
|
vars:
|
||||||
domain: "{{domain_landingpage}}"
|
domain: "{{domain_portfolio}}"
|
||||||
http_port: 8029
|
http_port: 8029
|
||||||
|
|
||||||
# Native Webserver Roles
|
# Native Webserver Roles
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
# role docker-landingpage
|
|
||||||
create a landingpage with flask. Uses https://github.com/kevinveenbirkenbach/landingpage
|
|
2
roles/docker-portfolio/README.md
Normal file
2
roles/docker-portfolio/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# role docker-portfolio
|
||||||
|
create a portfolio with flask. Uses https://github.com/kevinveenbirkenbach/portfolio
|
@ -8,6 +8,12 @@
|
|||||||
- name: "include tasks update-repository-with-docker-compose.yml"
|
- name: "include tasks update-repository-with-docker-compose.yml"
|
||||||
include_tasks: update-repository-with-docker-compose.yml
|
include_tasks: update-repository-with-docker-compose.yml
|
||||||
|
|
||||||
|
- name: create {{docker_compose_instance_directory}}/app/config.yaml
|
||||||
|
copy:
|
||||||
|
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/docker/app/portfolio/config.yaml"
|
||||||
|
dest: "{{docker_compose_instance_directory}}/app/config.yaml"
|
||||||
|
notify: docker compose project setup
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
@ -1,10 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
landingpage:
|
portfolio:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: application-landingpage
|
image: application-portfolio
|
||||||
container_name: landingpage
|
container_name: portfolio
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:{{http_port}}:5000
|
- 127.0.0.1:{{http_port}}:5000
|
||||||
volumes:
|
volumes:
|
@ -1,2 +1,2 @@
|
|||||||
docker_compose_project_name: "landingpage"
|
docker_compose_project_name: "portfolio"
|
||||||
repository_address: "https://github.com/kevinveenbirkenbach/landingpage"
|
repository_address: "https://github.com/kevinveenbirkenbach/portfolio"
|
Loading…
x
Reference in New Issue
Block a user