Compare commits
2 commits
63e2fd5a52
...
4aca41125e
Author | SHA1 | Date | |
---|---|---|---|
4aca41125e | |||
97f1eef2f8 |
2 changed files with 8 additions and 6 deletions
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
- name: Create authentik networks
|
||||
- name: Create authentik network
|
||||
become: true
|
||||
community.docker.docker_network:
|
||||
name: "{{ item }}"
|
||||
loop: ["authentik", "authentik-redis"]
|
||||
name: authentik
|
||||
- name: Create authnetik docker volumes
|
||||
become: true
|
||||
community.docker.docker_volume:
|
||||
|
@ -16,7 +15,7 @@
|
|||
image: redis:7.4-bookworm
|
||||
command: ["redis-server", "--save", "60", "1", "--loglevel", "warning"]
|
||||
networks:
|
||||
- name: authentik-redis
|
||||
- name: authentik
|
||||
volumes:
|
||||
- authentik-redis:/data
|
||||
restart_policy: unless-stopped
|
||||
|
@ -40,9 +39,9 @@
|
|||
command: ["server"]
|
||||
networks:
|
||||
- name: authentik
|
||||
- name: authentik-redis
|
||||
- name: postgresql
|
||||
- name: haproxy
|
||||
- name: monitoring
|
||||
user: root
|
||||
volumes:
|
||||
- authentik-media:/media
|
||||
|
@ -69,7 +68,6 @@
|
|||
command: ["worker"]
|
||||
networks:
|
||||
- name: authentik
|
||||
- name: authentik-redis
|
||||
- name: postgresql
|
||||
volumes:
|
||||
- authentik-media:/media
|
||||
|
@ -93,6 +91,7 @@
|
|||
networks:
|
||||
- name: authentik
|
||||
- name: haproxy
|
||||
- name: monitoring
|
||||
volumes:
|
||||
- authentik-certs:/certs
|
||||
- /etc/letsencrypt/live/comfycamp.space/fullchain.pem:/certs/comfycamp.space/fullchain.pem:ro
|
||||
|
|
|
@ -14,3 +14,6 @@ scrape_configs:
|
|||
scheme: http
|
||||
static_configs:
|
||||
- targets: ["minio:9000"]
|
||||
- job_name: authentik
|
||||
static_configs:
|
||||
- targets: ["authentik-1:9300"]
|
||||
|
|
Loading…
Reference in a new issue