Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a nerdctl Compatible yaml file #102

Closed
wants to merge 1 commit into from

Conversation

wey-gu
Copy link
Contributor

@wey-gu wey-gu commented Nov 4, 2021

Also introduced m1 macOS guide in FAQ

close #101

@wey-gu wey-gu requested a review from yixinglu November 4, 2021 05:47
@wey-gu
Copy link
Contributor Author

wey-gu commented Nov 4, 2021

  • Changing in place of the existing yaml file is a breaking change as the bind of volume is different from the existing volume mount, thus I had to create the separated one.
  • another diff is on the port, nerdctl required to Explicitly specify the mapped port
diff docker-compose.yaml docker-compose-nerdctl.yaml
25,27c25,27
<       - 9559
<       - 19559
<       - 19560
---
>       - "9559:9559"
>       - "19559:19559"
>       - "19560:19560"
29,30c29,34
<       - ./data/meta0:/data/meta
<       - ./logs/meta0:/logs
---
>       - type: bind
>         source: ./data/meta0
>         target: /data/meta
>       - type: bind
>         source: ./logs/meta0
>         target: /logs
59,61c63,65
<       - 9559
<       - 19559
<       - 19560
---
>       - "29559:9559"
>       - "39559:19559"
>       - "39560:19560"
63,64c67,72
<       - ./data/meta1:/data/meta
<       - ./logs/meta1:/logs
---
>       - type: bind
>         source: ./data/meta1
>         target: /data/meta
>       - type: bind
>         source: ./logs/meta1
>         target: /logs
93,95c101,103
<       - 9559
<       - 19559
<       - 19560
---
>       - "49559:9559"
>       - "59559:19559"
>       - "59560:19560"
97,98c105,110
<       - ./data/meta2:/data/meta
<       - ./logs/meta2:/logs
---
>       - type: bind
>         source: ./data/meta0
>         target: /data/meta
>       - type: bind
>         source: ./logs/meta0
>         target: /logs
131,133c143,145
<       - 9779
<       - 19779
<       - 19780
---
>       - "9779:9779"
>       - "19779:19779"
>       - "19780:19780"
135,136c147,152
<       - ./data/storage0:/data/storage
<       - ./logs/storage0:/logs
---
>       - type: bind
>         source: ./data/storage0
>         target: /data/storage
>       - type: bind
>         source: ./logs/storage0
>         target: /logs
169,171c185,187
<       - 9779
<       - 19779
<       - 19780
---
>       - "29779:9779"
>       - "39779:19779"
>       - "39780:19780"
173,174c189,194
<       - ./data/storage1:/data/storage
<       - ./logs/storage1:/logs
---
>       - type: bind
>         source: ./data/storage1
>         target: /data/storage
>       - type: bind
>         source: ./logs/storage1
>         target: /logs
207,209c227,229
<       - 9779
<       - 19779
<       - 19780
---
>       - "49779:9779"
>       - "59779:19779"
>       - "59780:19780"
211,212c231,236
<       - ./data/storage2:/data/storage
<       - ./logs/storage2:/logs
---
>       - type: bind
>         source: ./data/storage2
>         target: /data/storage
>       - type: bind
>         source: ./logs/storage2
>         target: /logs
245,246c269,270
<       - 19669
<       - 19670
---
>       - "19669:19669"
>       - "19670:19670"
248c272,274
<       - ./logs/graph:/logs
---
>       - type: bind
>         source: ./logs/graph
>         target: /logs
280,282c306,308
<       - 9669
<       - 19669
<       - 19670
---
>       - "29669:9669"
>       - "39669:19669"
>       - "39670:19670"
284c310,312
<       - ./logs/graph1:/logs
---
>       - type: bind
>         source: ./logs/graph1
>         target: /logs
316,318c344,346
<       - 9669
<       - 19669
<       - 19670
---
>       - "49669:9669"
>       - "59669:19669"
>       - "59670:19670"
320c348,350
<       - ./logs/graph2:/logs
---
>       - type: bind
>         source: ./logs/graph2
>         target: /logs

Also introduced m1 macOS guide in FAQ

close #101
@wey-gu wey-gu force-pushed the wey-gu-nerdctl-and-lima-m1-macOS branch from 98f0bb4 to 9ff6fab Compare November 5, 2021 09:01
@Sophie-Xie
Copy link

It's so long. I'll close it and restart if necessary.

@Sophie-Xie Sophie-Xie closed this Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compatible with nerdctl
2 participants