Skip to content

Commit

Permalink
Update instructions & docker-compose to reflect production paths
Browse files Browse the repository at this point in the history
  • Loading branch information
shuguet committed Apr 2, 2024
1 parent e4bd62b commit 8f4eb56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ This will launch Puter at http://localhost:4000 (or the next available port).
### Using Docker

```bash
mkdir puter && cd puter && mkdir -p puter/config puter/runtime && sudo chown -R 1000:1000 puter && docker run --rm -p 4100:4100 -v `pwd`/data:/opt/puter/app/volatile/runtime -v `pwd`/config:/opt/puter/app/volatile/config ghcr.io/heyputer/puter
mkdir puter && cd puter && mkdir -p puter/config puter/data && sudo chown -R 1000:1000 puter && docker run --rm -p 4100:4100 -v `pwd`/puter/config:/etc/puter -v `pwd`/puter/data:/var/puter ghcr.io/heyputer/puter
```

### Using Docker Compose

```bash
mkdir puter && cd puter
mkdir -p puter/config puter/runtime
mkdir -p puter/config puter/data
sudo chown -R 1000:1000 puter
wget https://raw.githubusercontent.com/HeyPuter/puter/main/docker-compose.yml
docker compose up
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ services:
PUID: 1000
PGID: 1000
volumes:
- ./puter/config:/opt/puter/app/volatile/config
- ./puter/runtime:/opt/puter/app/volatile/runtime
- ./puter/config:/etc/puter
- ./puter/data:/var/puter
healthcheck:
test: wget --no-verbose --tries=1 --spider http://puter.localhost:4100/test || exit 1
interval: 30s
Expand Down

0 comments on commit 8f4eb56

Please sign in to comment.