pico

created pr with 36.1 on 2024-11-20T04:59:44Z · by c8ef7d19
added 36.2 on 2024-11-20T05:01:44Z · by c8ef7d19
1: c729638 = 1: c729638 chore: container logs to pipe
-: ------- > 2: ebfa197 chore: rm build ctx from pipemgr service
cmds
checkout latest patchset:
ssh pr.pico.sh print 36 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print 36.[rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 36

Patchset 36.2 on 2024-11-20T05:01:44Z · commit c729638

chore: container logs to pipe
Eric Bower 2024-11-20T04:59:03Z
Semantic diff summary
0 added, 0 modified, 0 signature changed, 0 removed across 0 analyzed files (4 files skipped: unsupported file type)
+3 -0 .env.example #
......@@ -6,6 +6,9 @@ REGISTRY_URL=registry:5000
66 PICO_SECRET=""
77 PICO_SECRET_WEBHOOK=""
88
9+PICO_SENDLOG_KEY="/key"
10+PICO_PIPE_KEY="/key"
11+
912 MINIO_CADDYFILE=./caddy/Caddyfile.minio
1013 MINIO_DOMAIN=minio.dev.pico.sh
1114 MINIO_EMAIL=hello@pico.sh
+2 -0 docker-compose.override.yml #
......@@ -74,6 +74,8 @@ services:
7474 - .env.example
7575 ports:
7676 - "3002:3000"
77+ volumes:
78+ - ./data/prose-web/data:/app/ssh_data
7779 prose-ssh:
7880 build:
7981 args:
+10 -0 docker-compose.prod.yml #
......@@ -164,6 +164,11 @@ services:
164164 - .env.prod
165165 volumes:
166166 - ./data/prose-ssh/data:/app/ssh_data
167+ labels:
168+ pipemgr: true
169+ depends_on:
170+ pipemgr:
171+ condition: service_healthy
167172 prose-ssh:
168173 networks:
169174 prose:
......@@ -256,6 +261,11 @@ services:
256261 volumes:
257262 - ./data/storage/data:/app/.storage
258263 - ./data/pgs-ssh/data:/app/ssh_data
264+ labels:
265+ pipemgr: true
266+ depends_on:
267+ pipemgr:
268+ condition: service_healthy
259269 pgs-ssh:
260270 networks:
261271 pgs:
+17 -0 docker-compose.yml #
......@@ -29,6 +29,23 @@ services:
2929 profiles:
3030 - db
3131 - all
32+ pipemgr:
33+ build:
34+ context: .
35+ image: ghcr.io/picosh/pipemgr:latest
36+ restart: always
37+ volumes:
38+ - /var/run/docker.sock:/var/run/docker.sock:ro
39+ - ${PICO_PIPE_KEY}:/key:ro
40+ healthcheck:
41+ test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
42+ interval: 2s
43+ timeout: 5s
44+ retries: 5
45+ start_period: 1s
46+ profiles:
47+ - all
48+ - log
3249 pastes-web:
3350 image: ghcr.io/picosh/pico/pastes-web:latest
3451 restart: always
Back to top