mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-23 07:48:04 +01:00
This commit is contained in:
parent
6aa82a24d4
commit
c6b897f218
7 changed files with 26 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
- import_playbook: display.yaml # noqa: name[play]
|
||||
- import_playbook: ghost-config.yaml # noqa: name[play]
|
||||
- import_playbook: ghost-update.yaml # noqa: name[play]
|
||||
- import_playbook: gitea.yaml # noqa: name[play]
|
||||
- import_playbook: git.yaml # noqa: name[play]
|
||||
- import_playbook: goatcounter.yaml # noqa: name[play]
|
||||
- import_playbook: lyon-transports.yaml # noqa: name[play]
|
||||
- import_playbook: manuels.yaml # noqa: name[play]
|
||||
|
@ -21,4 +21,5 @@
|
|||
- import_playbook: test_headers.yaml # noqa: name[play]
|
||||
- import_playbook: voice-pipeline.yaml # noqa: name[play]
|
||||
- import_playbook: wallabag.yaml # noqa: name[play]
|
||||
- import_playbook: watchtower.yaml # noqa: name[play]
|
||||
- import_playbook: ynab.yaml # noqa: name[play]
|
||||
|
|
|
@ -3,5 +3,7 @@ services:
|
|||
build:
|
||||
context: sources
|
||||
restart: always
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
ports:
|
||||
- "127.0.0.1:9010:80"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:8
|
||||
image: codeberg.org/forgejo/forgejo:9
|
||||
env_file: gitea.env
|
||||
restart: always
|
||||
volumes:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
app:
|
||||
image: python:3.13-slim
|
||||
image: python:3-slim
|
||||
command: python /app/app.py
|
||||
volumes:
|
||||
- ./:/app
|
||||
|
|
8
playbooks/apps/files/watchtower/docker-compose.yaml
Normal file
8
playbooks/apps/files/watchtower/docker-compose.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/gaugendre/.docker/config.json:/config.json
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command: --interval 86400 --cleanup --include-restarting
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: Gitea
|
||||
- name: Forgejo
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
11
playbooks/apps/watchtower.yaml
Normal file
11
playbooks/apps/watchtower.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Watchtower
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Docker
|
||||
ansible.builtin.include_role:
|
||||
name: docker
|
||||
|
||||
vars:
|
||||
docker_app_name: watchtower
|
Loading…
Reference in a new issue