mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-03-28 18:03:49 +00:00
chore: delete config file and move docker file to /
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
global:
|
|
||||||
scrape_interval: 15s
|
|
||||||
evaluation_interval: 15s
|
|
||||||
|
|
||||||
scrape_configs:
|
|
||||||
- job_name: 'prometheus'
|
|
||||||
static_configs:
|
|
||||||
- targets: ['prometheus:9090']
|
|
||||||
@@ -19,6 +19,7 @@ networks:
|
|||||||
name: web_network
|
name: web_network
|
||||||
internal: false
|
internal: false
|
||||||
external: false
|
external: false
|
||||||
|
enable_ipv6: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
socket-ro:
|
socket-ro:
|
||||||
@@ -141,6 +142,7 @@ services:
|
|||||||
# Grant access to Docker socket enables automated
|
# Grant access to Docker socket enables automated
|
||||||
# proxy configuration based on container events.
|
# proxy configuration based on container events.
|
||||||
- DOCKER_HOST=tcp://socket-ro:2375
|
- DOCKER_HOST=tcp://socket-ro:2375
|
||||||
|
- ENABLE_IPV6=true
|
||||||
volumes:
|
volumes:
|
||||||
# Grant access to certification volume allow to
|
# Grant access to certification volume allow to
|
||||||
# nginx to read and send SSL keys for security.
|
# nginx to read and send SSL keys for security.
|
||||||
@@ -314,6 +316,7 @@ services:
|
|||||||
- BETTER_AUTH_SECRET=${MIRROR_AUTH_SECRET}
|
- BETTER_AUTH_SECRET=${MIRROR_AUTH_SECRET}
|
||||||
- SCHEDULE_ENABLED=true
|
- SCHEDULE_ENABLED=true
|
||||||
- SCHEDULE_INTERVAL=3600
|
- SCHEDULE_INTERVAL=3600
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- gitea-mirror-data:/app/data
|
- gitea-mirror-data:/app/data
|
||||||
networks:
|
networks:
|
||||||
Reference in New Issue
Block a user