repos / ops

infra for pico services
git clone https://github.com/picosh/ops.git

commit
0dfff9b
parent
456f03d
author
Antonio Mika
date
2023-11-17 12:52:24 +0000 UTC
Set external network for caddy
1 files changed,  +10, -1
M monitoring/docker-compose.prod.yml
+10, -1
 1@@ -11,11 +11,17 @@ services:
 2       - "80:80"
 3       - "443:443"
 4   prometheus:
 5+    networks:
 6+      - default
 7+      - caddy
 8     env_file:
 9       - .env.prod
10     volumes:
11       - ./prometheus/data:/prometheus
12   grafana:
13+    networks:
14+      - default
15+      - caddy
16     env_file:
17       - .env.prod
18     volumes:
19@@ -33,4 +39,7 @@ networks:
20     ipam:
21       driver: default
22       config:
23-        - subnet: fd00:dead:beef::/48
24+        - subnet: fd00:dead:beef::/48
25+  caddy:
26+    name: pico_pgs
27+    external: true