mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
cleanup
This commit is contained in:
parent
1dce09f4ea
commit
4aaf938d9b
3 changed files with 0 additions and 86 deletions
|
|
@ -1,24 +0,0 @@
|
|||
version: 0.1
|
||||
log:
|
||||
accesslog:
|
||||
disabled: true
|
||||
level: debug
|
||||
formatter: text
|
||||
fields:
|
||||
service: registry
|
||||
storage:
|
||||
filesystem:
|
||||
rootdirectory: /var/lib/registry
|
||||
maxthreads: 100
|
||||
delete:
|
||||
enabled: true
|
||||
http:
|
||||
addr: 0.0.0.0:5000
|
||||
host: https://old-docker.noratrieb.dev
|
||||
draintimeout: 60s
|
||||
headers:
|
||||
X-Content-Type-Options: [nosniff]
|
||||
auth:
|
||||
htpasswd:
|
||||
realm: nilstrieb-registry
|
||||
path: /htpasswd
|
||||
|
|
@ -15,49 +15,6 @@
|
|||
hour: "7"
|
||||
job: "/apps/backup.sh"
|
||||
#####
|
||||
# APP: prometheus, /apps/prometheus
|
||||
- name: Create /apps/prometheus
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Copy Prometheus config
|
||||
ansible.builtin.copy:
|
||||
dest: /apps/prometheus/prometheus.yml
|
||||
src: ../apps/prometheus/prometheus.yml
|
||||
mode: "u=r,g=r,o=r"
|
||||
owner: 1001
|
||||
- name: Create /apps/prometheus/data
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus/data"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o="
|
||||
owner: 1001
|
||||
#####
|
||||
#####
|
||||
# APP: docker registry, /apps/registry
|
||||
#####
|
||||
- name: Create /apps/registry
|
||||
ansible.builtin.file:
|
||||
path: "/apps/registry"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Create /apps/registry/data
|
||||
ansible.builtin.file:
|
||||
path: "/apps/registry/data"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Copy over registry config.yml
|
||||
ansible.builtin.copy:
|
||||
dest: /apps/registry/config.yml
|
||||
src: ../apps/registry/config.yml
|
||||
mode: "u=r,g=r,o=r"
|
||||
- name: Copy secrets user file
|
||||
ansible.builtin.copy:
|
||||
dest: "/apps/registry/htpasswd"
|
||||
src: "../secrets/registry/htpasswd"
|
||||
mode: "u=r,g=r,o=r"
|
||||
#####
|
||||
# APP: killua bot, /apps/killua
|
||||
#####
|
||||
- name: Create /apps/killua
|
||||
|
|
|
|||
|
|
@ -1,24 +1,5 @@
|
|||
version: "3.8"
|
||||
services:
|
||||
registry:
|
||||
container_name: registry
|
||||
restart: always
|
||||
image: registry:2
|
||||
volumes:
|
||||
- "/apps/registry/config.yml:/etc/docker/registry/config.yml"
|
||||
- "/apps/registry/data:/var/lib/registry"
|
||||
- "/apps/registry/htpasswd:/htpasswd"
|
||||
ports:
|
||||
- "5000:5000"
|
||||
prometheus:
|
||||
container_name: prometheus
|
||||
restart: always
|
||||
image: bitnami/prometheus:2.51.1
|
||||
volumes:
|
||||
- "/apps/prometheus/prometheus.yml:/opt/bitnami/prometheus/conf/prometheus.yml"
|
||||
- "/apps/prometheus/data:/opt/bitnami/prometheus/data"
|
||||
networks:
|
||||
- prometheus
|
||||
killua:
|
||||
container_name: killua
|
||||
image: "docker.noratrieb.dev/killua-bot:ac8203d2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue