Skip to content

Commit

Permalink
Updated docker compose formatting on macos and yacht.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wickedyoda committed Oct 6, 2024
1 parent f6f98fc commit cff0dd0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/Installation/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MacOS will throw errors about being unable to access the docker socket (`/var/ru
Here's an example docker-compose:

```yaml title="docker-compose.yml"
version: '3'
version: '3.9'
services:
yacht:
container_name: yacht
Expand All @@ -26,9 +26,10 @@ services:
- PUID=0
- PGID=0
- COMPOSE_DIR=/compose
image: selfhostedpro/yacht
image: selfhostedpro/yacht:latest
volumes:
yacht:
```
```

*Please note that the above docker-compose sets up a compose directory for managing compose projects. You'll need to change the paths to fit your system or remove these if you're not going to be using docker-compose*
5 changes: 3 additions & 2 deletions docs/Installation/yacht.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ The following is an example docker-compose.yml file to deploy Yacht:

```yaml title="docker-compose.yml"
---
version: "3"
version: "3.9"
services:
yacht:
container_name: yacht
restart: unless-stopped
ports:
- 8000:8000
- "8000:8000"
volumes:
- yacht:/config
- /var/run/docker.sock:/var/run/docker.sock
Expand All @@ -53,6 +53,7 @@ services:
volumes:
yacht:
```
```

## via DockSTARTer

Expand Down

0 comments on commit cff0dd0

Please sign in to comment.