move from pizzapim.nl to pim.kunis.nl
This commit is contained in:
parent
4d8f9e816c
commit
1bd61091a1
26 changed files with 66 additions and 101 deletions
|
@ -22,8 +22,8 @@
|
|||
src: "{{ role_path }}/templates/docker-compose.yml.j2"
|
||||
dest: "{{ service_dir }}/docker-compose.yml"
|
||||
- name: Copy nginx config
|
||||
copy:
|
||||
src: "{{ role_path }}/files/nginx.conf"
|
||||
template:
|
||||
src: "{{ role_path }}/templates/nginx.conf.j2"
|
||||
dest: "{{ service_dir }}/nginx.conf"
|
||||
register: nginx_conf
|
||||
- name: Start docker compose
|
||||
|
|
|
@ -14,9 +14,9 @@ services:
|
|||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.blog.entrypoints=websecure
|
||||
- traefik.http.routers.blog.rule=Host(`pizzapim.nl`)
|
||||
- traefik.http.routers.blog.rule=Host(`{{ domain_name_pim }}`)
|
||||
- traefik.http.routers.blog.tls=true
|
||||
- traefik.http.routers.blog.tls.certresolver=pizzapim
|
||||
- traefik.http.routers.blog.tls.certresolver=letsencrypt
|
||||
- traefik.http.routers.blog.service=blog
|
||||
- traefik.http.services.blog.loadbalancer.server.port=80
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name pizzapim.nl;
|
||||
server_name {{ domain_name_pim }};
|
||||
index index.html index.htm;
|
||||
root /var/www/blog;
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
service_name: blog
|
||||
service_dir: "{{ base_service_dir }}/{{ service_name }}"
|
||||
git_origin: https://git.pizzapim.nl/pim/blog.git
|
||||
git_origin: https://git.pim.kunis.nl/pim/blog.git
|
||||
|
|
Reference in a new issue