Skip to content

Commit 0bbe761

Browse files
committed
chore(dargstack): use platform overrides for mac compatibility
1 parent 7852c4b commit 0bbe761

5 files changed

Lines changed: 19 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
ref: ${{ github.head_ref || github.ref_name }}
3131
- name: Regenerate docs
3232
run: |
33-
go install github.com/dargstack/dargstack/v4/cmd/dargstack@v4.2.0
33+
go install github.com/dargstack/dargstack/v4/cmd/dargstack@v4.7.0
3434
export PATH="$(go env GOPATH)/bin:$PATH"
3535
dargstack document
3636
- name: Commit and push updated docs

Dockerfile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# <DEPENDENCIES>
2-
FROM ghcr.io/dargstack/dargstack:4.5.1
2+
FROM ghcr.io/dargstack/dargstack:4.7.0
33
# </DEPENDENCIES>

dargstack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
# tag: latest # optional, defaults to "latest"
1414

1515
metadata:
16-
compatibility: ">=4.2.0-0 <5.0.0"
16+
compatibility: ">=4.7.0-0 <5.0.0"
1717
name: "vibetype"
1818
source:
1919
name: "maevsi"

src/development/cadvisor/compose.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,14 @@ services:
2323
- /sys:/sys:ro
2424
- /var/lib/docker/:/var/lib/docker:ro
2525
- /dev/disk/:/dev/disk:ro
26+
x-dargstack:
27+
platform:
28+
darwin:
29+
services:
30+
cadvisor:
31+
volumes:
32+
- (( prune ))
33+
- /:/rootfs:ro
34+
- /var/run:/var/run:ro
35+
- /sys:/sys:ro
36+
- /var/lib/docker/:/var/lib/docker:ro

src/development/postgres/compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ volumes:
7474
# The database's data.
7575
{}
7676
x-dargstack:
77+
platform:
78+
darwin:
79+
services:
80+
postgres:
81+
image: imresamu/postgis:18-3.6-alpine
7782
secrets:
7883
postgres-db:
7984
type: wordlist_word

0 commit comments

Comments
 (0)