mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-07-18 10:54:01 +00:00
Compare commits
12 Commits
be60210294
...
main
Author | SHA1 | Date | |
---|---|---|---|
42fe309722 | |||
48d89faaee | |||
![]() |
5ca6236450 | ||
![]() |
cae7ef2ed6 | ||
c28ad9632b | |||
![]() |
3dda03eee0 | ||
![]() |
ea305d6b04 | ||
5e67277ab5 | |||
b3361c697f | |||
e66e518eef | |||
1de5d814db | |||
4feed08d9d |
@@ -8,7 +8,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
blinko-website:
|
blinko-website:
|
||||||
image: blinkospace/blinko:1.0.7
|
image: blinkospace/blinko:1.1.2
|
||||||
container_name: blinko-website
|
container_name: blinko-website
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
@@ -24,12 +24,6 @@ services:
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://blinko-website:1111/"]
|
|
||||||
interval: 30s
|
|
||||||
timeout: 10s
|
|
||||||
retries: 5
|
|
||||||
start_period: 30s
|
|
||||||
networks:
|
networks:
|
||||||
- blinko
|
- blinko
|
||||||
- caddy
|
- caddy
|
||||||
|
@@ -8,7 +8,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
image: gitea/gitea:1.24.0
|
image: gitea/gitea:1.24.3
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=${USER_UID}
|
- USER_UID=${USER_UID}
|
||||||
@@ -24,7 +24,7 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 512M
|
memory: 1G
|
||||||
|
|
||||||
act:
|
act:
|
||||||
image: gitea/act_runner:0.2.11
|
image: gitea/act_runner:0.2.11
|
||||||
|
@@ -10,8 +10,9 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-enterprise:12.0.1
|
image: grafana/grafana-enterprise:12.0.2
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- grafana
|
- grafana
|
||||||
- caddy
|
- caddy
|
||||||
|
1
main.sh
1
main.sh
@@ -72,6 +72,7 @@ generate_env_files() {
|
|||||||
start_services() {
|
start_services() {
|
||||||
docker network create caddy 2>/dev/null
|
docker network create caddy 2>/dev/null
|
||||||
docker network create grafana 2>/dev/null
|
docker network create grafana 2>/dev/null
|
||||||
|
docker network create gitea 2>/dev/null
|
||||||
|
|
||||||
echo "Starting prometheus..."
|
echo "Starting prometheus..."
|
||||||
$DOCKER_COMPOSE_COMMAND -f ./prometheus/docker-compose.yml up -d
|
$DOCKER_COMPOSE_COMMAND -f ./prometheus/docker-compose.yml up -d
|
||||||
|
@@ -12,8 +12,9 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:v3.4.1
|
image: prom/prometheus:v3.5.0
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- prometheus
|
- prometheus
|
||||||
- grafana
|
- grafana
|
||||||
@@ -26,6 +27,7 @@ services:
|
|||||||
node_exporter:
|
node_exporter:
|
||||||
image: quay.io/prometheus/node-exporter:v1.9.1
|
image: quay.io/prometheus/node-exporter:v1.9.1
|
||||||
container_name: node_exporter
|
container_name: node_exporter
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- prometheus
|
- prometheus
|
||||||
command:
|
command:
|
||||||
@@ -37,6 +39,7 @@ services:
|
|||||||
cadvisor:
|
cadvisor:
|
||||||
image: gcr.io/cadvisor/cadvisor:v0.49.1
|
image: gcr.io/cadvisor/cadvisor:v0.49.1
|
||||||
container_name: cadvisor
|
container_name: cadvisor
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- prometheus
|
- prometheus
|
||||||
volumes:
|
volumes:
|
||||||
|
@@ -4,9 +4,13 @@ services:
|
|||||||
container_name: wg-easy
|
container_name: wg-easy
|
||||||
networks:
|
networks:
|
||||||
caddy:
|
caddy:
|
||||||
|
interface_name: wgeth1
|
||||||
wg:
|
wg:
|
||||||
ipv4_address: 10.42.42.42
|
ipv4_address: 10.42.42.42
|
||||||
ipv6_address: fdcc:ad94:bacf:61a3::2a
|
ipv6_address: fdcc:ad94:bacf:61a3::2a
|
||||||
|
interface_name: wgeth0
|
||||||
|
environment:
|
||||||
|
WG_DEVICE: wgeth0
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/etc/wireguard
|
- ./data:/etc/wireguard
|
||||||
- /lib/modules:/lib/modules:ro
|
- /lib/modules:/lib/modules:ro
|
||||||
|
Reference in New Issue
Block a user