mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add Marie's website
This commit is contained in:
parent
ec039dd7fb
commit
6eef2432f0
3 changed files with 37 additions and 0 deletions
|
|
@ -44,3 +44,6 @@
|
||||||
tags: [ 'ddns' ]
|
tags: [ 'ddns' ]
|
||||||
- role: mailu-docker
|
- role: mailu-docker
|
||||||
tags: [ 'mailu' ]
|
tags: [ 'mailu' ]
|
||||||
|
- role: website-marie-docker
|
||||||
|
tags: [ 'website-marie' ]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
version: '2.2'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
web:
|
||||||
|
external:
|
||||||
|
name: web
|
||||||
|
|
||||||
|
services:
|
||||||
|
website-marie:
|
||||||
|
image: nginx
|
||||||
|
labels:
|
||||||
|
- "traefik.backend=website-marie"
|
||||||
|
- "traefik.docker.network=web"
|
||||||
|
- "traefik.frontend.rule=Host:osteopathie.froidmont.org"
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.port=80"
|
||||||
|
- "traefik.default.protocol=http"
|
||||||
|
volumes:
|
||||||
|
- /var/lib/website-marie:/usr/share/nginx/html:ro
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
restart: always
|
||||||
|
|
||||||
11
roles/website-marie-docker/tasks/main.yml
Normal file
11
roles/website-marie-docker/tasks/main.yml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
- name: Copy searx config
|
||||||
|
copy:
|
||||||
|
src: website-marie
|
||||||
|
dest: "{{docker_compose_files_folder}}"
|
||||||
|
|
||||||
|
- name: Start website-marie docker project
|
||||||
|
docker_compose:
|
||||||
|
project_src: "{{docker_compose_files_folder}}/website-marie"
|
||||||
|
state: present
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue