mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 14:03:42 +00:00
Update instructions & docker-compose to reflect production paths
This commit is contained in:
parent
e4bd62b84c
commit
8f4eb5627b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user