Skip to content

Commit a157333

Browse files
committed
Add docker-compose YAML for quick-start
1 parent 446e30a commit a157333

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

docs/hosting.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,34 @@ docker run \
2424
ghcr.io/pixlcore/xyops:latest
2525
```
2626

27+
Here it is as a docker compose file if you prefer that:
28+
29+
```yaml
30+
services:
31+
xyops01:
32+
image: ghcr.io/pixlcore/xyops:latest
33+
container_name: xyops01
34+
hostname: xyops01
35+
36+
init: true
37+
restart: unless-stopped
38+
39+
environment:
40+
XYOPS_xysat_local: "true"
41+
TZ: America/Los_Angeles
42+
43+
volumes:
44+
- xy-data:/opt/xyops/data
45+
- /var/run/docker.sock:/var/run/docker.sock
46+
47+
ports:
48+
- "5522:5522"
49+
- "5523:5523"
50+
51+
volumes:
52+
xy-data:
53+
```
54+
2755
Then hit http://localhost:5522/ in your browser for HTTP, or https://localhost:5523/ for HTTPS (note that this will have a self-signed cert -- see [TLS](#tls) below). A default administrator account will be created with username `admin` and password `admin`. This will create a Docker volume (`xy-data`) to persist the xyOps database, which by default is a hybrid of a SQLite DB and the filesystem itself for file storage.
2856

2957
A few notes:

0 commit comments

Comments
 (0)