Compare commits
3 Commits
17ee6ae363
...
3ca60f7e91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ca60f7e91 | ||
| 461d812316 | |||
| ac6f7c8905 |
@ -11,7 +11,7 @@ volumes:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: gitea/gitea:1.22.3
|
image: gitea/gitea:1.22.6
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@ -83,10 +83,16 @@
|
|||||||
src: assets/{{ inventory_hostname }}/compose.yml.j2
|
src: assets/{{ inventory_hostname }}/compose.yml.j2
|
||||||
dest: /root/docker/compose.yml
|
dest: /root/docker/compose.yml
|
||||||
backup: true
|
backup: true
|
||||||
|
- name: Pull images
|
||||||
|
ansible.builtin.shell: docker compose pull
|
||||||
|
args:
|
||||||
|
chdir: /root/docker
|
||||||
- name: Run Docker
|
- name: Run Docker
|
||||||
ansible.builtin.shell: docker compose up -d --remove-orphans
|
ansible.builtin.shell: docker compose up -d --remove-orphans
|
||||||
args:
|
args:
|
||||||
chdir: /root/docker
|
chdir: /root/docker
|
||||||
|
- name: Prune images
|
||||||
|
ansible.builtin.shell: docker image prune -f
|
||||||
|
|
||||||
- name: Local server Wireguard
|
- name: Local server Wireguard
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@ -11,8 +11,6 @@ docker:
|
|||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
docker-int:
|
docker-int:
|
||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
git:
|
|
||||||
ansible_ssh_user: root
|
|
||||||
basementpi:
|
basementpi:
|
||||||
ansible_host: 10.11.1.10
|
ansible_host: 10.11.1.10
|
||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user