Renamed landing page to portfolio and implemented config.yaml file for it

This commit is contained in:
2025-01-16 23:29:43 +01:00
parent b42fb280eb
commit fb4cc305c2
7 changed files with 18 additions and 12 deletions

View File

@@ -1,2 +0,0 @@
# role docker-landingpage
create a landingpage with flask. Uses https://github.com/kevinveenbirkenbach/landingpage

View File

@@ -0,0 +1,2 @@
# role docker-portfolio
create a portfolio with flask. Uses https://github.com/kevinveenbirkenbach/portfolio

View File

@@ -8,6 +8,12 @@
- name: "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
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
notify: docker compose project setup

View File

@@ -1,10 +1,10 @@
services:
landingpage:
portfolio:
build:
context: .
dockerfile: Dockerfile
image: application-landingpage
container_name: landingpage
image: application-portfolio
container_name: portfolio
ports:
- 127.0.0.1:{{http_port}}:5000
volumes:

View File

@@ -1,2 +1,2 @@
docker_compose_project_name: "landingpage"
repository_address: "https://github.com/kevinveenbirkenbach/landingpage"
docker_compose_project_name: "portfolio"
repository_address: "https://github.com/kevinveenbirkenbach/portfolio"