Skip to content

One Click Coolify Deployment #53

New issue

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

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

Already on GitHub? # to your account

Closed
wants to merge 123 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
2f7e80b
Merge branch 'hyperfy-xyz:main' into future
HowieDuhzit Jan 31, 2025
d77655e
feat: Add HyperFone and build mode controls with emote updates
HowieDuhzit Jan 31, 2025
65fc290
Merge branch 'future' of https://github.com/HowieDuhzit/hyperfy into …
HowieDuhzit Jan 31, 2025
dc04a26
env update
HowieDuhzit Feb 1, 2025
e8da44a
Merge branch 'future' of https://github.com/HowieDuhzit/hyperfy into …
HowieDuhzit Feb 1, 2025
93426c7
feat: Add advanced transform controls with copy/paste and locking fun…
HowieDuhzit Feb 1, 2025
9db46a1
feat: Add middle mouse button entity movement and VRM avatar swap
HowieDuhzit Feb 1, 2025
a62ab6e
feat: Add middle-click entity duplication with Ctrl modifier
HowieDuhzit Feb 1, 2025
c56236e
Merge pull request #3 from hyperfy-xyz/dev
HowieDuhzit Feb 1, 2025
3618699
feat: Add BuildMode system to client world
jb0gie Feb 1, 2025
8e62146
git ignore update
HowieDuhzit Feb 2, 2025
0fe2834
Merge branch 'future2' of https://github.com/HowieDuhzit/hyperfy into…
HowieDuhzit Feb 2, 2025
9271bbe
feat: Enhance BuildMode with advanced grid, camera controls, and inte…
jb0gie Feb 2, 2025
86fa2fe
refactor: Simplify BuildMode by removing complex grid and animation l…
jb0gie Feb 2, 2025
326c4ef
feat: Improve BuildMode camera controls with mouse lock and interaction
jb0gie Feb 2, 2025
8c1d19f
chore: Remove hyperfone_apps submodule
HowieDuhzit Feb 2, 2025
4c9f358
feat: Implement smooth, physics-like camera movement in BuildMode
jb0gie Feb 2, 2025
4c8202d
fix: Hide cursor during BuildMode camera interaction
jb0gie Feb 2, 2025
f091725
fix: Adjust rotation speed in BuildMode for more precise camera control
HowieDuhzit Feb 2, 2025
a46560b
Merge branch 'future2' of https://github.com/HowieDuhzit/hyperfy into…
HowieDuhzit Feb 2, 2025
b70c70d
chore: Remove hyperfone_apps submodule
HowieDuhzit Feb 2, 2025
eba2c7b
refactor: Simplify BuildMode camera interaction and remove camera loc…
HowieDuhzit Feb 2, 2025
cd6ecf6
feat: Add object scaling and transformation modes in BuildMode
HowieDuhzit Feb 2, 2025
48c5540
feat: Add object scaling and transformation modes in BuildMode
HowieDuhzit Feb 2, 2025
86b022e
Merge branch 'Tatted' of https://github.com/HowieDuhzit/hyperfy into …
HowieDuhzit Feb 2, 2025
b12c99e
update: Modify base environment 3D model
HowieDuhzit Feb 2, 2025
49b68da
update: Refine base environment 3D model details
HowieDuhzit Feb 2, 2025
20955f2
Merge remote-tracking branch 'upstream/dev' into Tatted
HowieDuhzit Feb 5, 2025
408ad6e
refactor: simplify InspectPane component and remove unused features
HowieDuhzit Feb 5, 2025
629efc7
refactor: optimize Dockerfile for multi-stage build and production de…
HowieDuhzit Feb 5, 2025
31b3278
Merge remote-tracking branch 'upstream/dev' into Tatted
HowieDuhzit Feb 9, 2025
eb301a5
Update Dockerfile
HowieDuhzit Feb 9, 2025
54f12d0
Update index.html
HowieDuhzit Feb 9, 2025
a8a32bd
Update index.html
HowieDuhzit Feb 9, 2025
6cf6d60
Update index.html
HowieDuhzit Feb 9, 2025
203747b
Merge pull request #6 from hyperfy-xyz/dev
HowieDuhzit Feb 9, 2025
b2e6772
refactor: simplify InspectPane component and remove unused features
HowieDuhzit Feb 9, 2025
7c22538
Merge branch 'Tatted' of https://github.com/HowieDuhzit/hyperfy into …
HowieDuhzit Feb 9, 2025
cb1246a
chore: remove PWA and service worker related files
HowieDuhzit Feb 9, 2025
0ec63a0
Update Dockerfile
HowieDuhzit Feb 10, 2025
0271429
Merge branch 'hyperfy-xyz:dev' into dev
HowieDuhzit Feb 13, 2025
82fa37c
Update Dockerfile
HowieDuhzit Feb 13, 2025
faa9cf7
Merge branch 'dev' of https://github.com/hyperfy-xyz/hyperfy into hyp…
HowieDuhzit Feb 15, 2025
b1e0c82
Update base environment 3D model
HowieDuhzit Feb 16, 2025
d408d1f
Enhance Dockerfile with multi-stage build and healthcheck
HowieDuhzit Feb 16, 2025
205f928
Merge pull request #10 from hyperfy-xyz/dev
HowieDuhzit Feb 16, 2025
56d7824
Update base environment 3D model
HowieDuhzit Feb 16, 2025
e915620
I apolog
HowieDuhzit Feb 16, 2025
52b5cbd
Compose for Coolify
HowieDuhzit Feb 16, 2025
dbd5f78
Merge branch 'Cool' of https://github.com/howieduhzit/hyperfy into Cool
HowieDuhzit Feb 16, 2025
156fd9b
Remove docker-compose configuration for local deployment
HowieDuhzit Feb 16, 2025
0235938
Update docker-compose environment variables for service routing
HowieDuhzit Feb 16, 2025
6aec9c7
Simplify service routing environment variables in docker-compose
HowieDuhzit Feb 16, 2025
47b49a3
Refactor docker-compose environment variable configuration
HowieDuhzit Feb 16, 2025
84afe11
Consolidate docker-compose environment variables for single service r…
HowieDuhzit Feb 16, 2025
d467195
Remove curly braces from docker-compose environment variables
HowieDuhzit Feb 16, 2025
7c97de2
Remove environment variable interpolation in docker-compose
HowieDuhzit Feb 16, 2025
b0dda93
Add Coolify management labels to docker-compose configuration
HowieDuhzit Feb 16, 2025
69c771a
Add Hyperfy service FQDN environment variable to docker-compose
HowieDuhzit Feb 16, 2025
dbd313d
Remove Coolify management labels from docker-compose
HowieDuhzit Feb 16, 2025
f271b08
Update Caddy reverse proxy configuration in docker-compose
HowieDuhzit Feb 16, 2025
cc3bcc1
Remove Hyperfy service FQDN environment variable from docker-compose
HowieDuhzit Feb 16, 2025
da4302f
Update Hyperfy service FQDN environment variables in docker-compose
HowieDuhzit Feb 16, 2025
2c4e736
Fix environment variable syntax in docker-compose
HowieDuhzit Feb 16, 2025
c93de47
Fix environment variable syntax for Hyperfy service URLs
HowieDuhzit Feb 16, 2025
734cf18
Fix Hyperfy service URL environment variable syntax
HowieDuhzit Feb 16, 2025
a4dd656
Remove unnecessary Hyperfy service FQDN environment variables
HowieDuhzit Feb 16, 2025
e16a3f3
Refactor Hyperfy docker-compose environment variables with default va…
HowieDuhzit Feb 16, 2025
ea0f3f9
Remove unnecessary NODE_ENV and build args in docker-compose
HowieDuhzit Feb 16, 2025
a834043
Fix URL environment variable quoting in docker-compose
HowieDuhzit Feb 16, 2025
f8c7bee
Fix URL environment variable quoting in docker-compose
HowieDuhzit Feb 16, 2025
2c650eb
Remove quotes from Hyperfy service URL environment variables
HowieDuhzit Feb 16, 2025
0f61022
Update Hyperfy service URL environment variables with separate paths
HowieDuhzit Feb 16, 2025
8abc879
Update Hyperfy service URL environment variables with path suffixes
HowieDuhzit Feb 16, 2025
3ac8656
Refactor Hyperfy docker-compose with secure and dynamic environment v…
HowieDuhzit Feb 17, 2025
75ae086
Update Hyperfy service FQDN environment variables with dynamic base URL
HowieDuhzit Feb 17, 2025
4f2d830
Modify Hyperfy docker-compose environment variable configuration
HowieDuhzit Feb 17, 2025
47c0c96
Update Hyperfy docker-compose environment variables with simplified c…
HowieDuhzit Feb 17, 2025
b299c21
Add fallback values for Hyperfy service URL environment variables
HowieDuhzit Feb 17, 2025
b1c1475
Simplify Hyperfy docker-compose environment variable defaults
HowieDuhzit Feb 17, 2025
5f9870c
Fix docker-compose volume configuration for Hyperfy service
HowieDuhzit Feb 17, 2025
ec57a7f
Fix docker-compose volume configuration for Hyperfy service
HowieDuhzit Feb 17, 2025
def40ea
Update Hyperfy docker-compose URL environment variables without path …
HowieDuhzit Feb 17, 2025
2d636ea
Add path suffixes to Hyperfy service URL environment variables
HowieDuhzit Feb 17, 2025
609103b
Update Hyperfy docker-compose environment variables for service URLs
HowieDuhzit Feb 17, 2025
8c1aa5c
Fix Hyperfy docker-compose service URL environment variable interpola…
HowieDuhzit Feb 17, 2025
de8a06c
Add root service FQDN and update service URL environment variables
HowieDuhzit Feb 17, 2025
e24ea82
Fix service URL environment variable syntax in docker-compose
HowieDuhzit Feb 17, 2025
2883fbb
Switch Hyperfy service to use pre-built image and simplify service UR…
HowieDuhzit Feb 17, 2025
f977b12
Add root service FQDN environment variable for Hyperfy service
HowieDuhzit Feb 17, 2025
02e2304
Update Hyperfy docker image and service FQDN environment variable
HowieDuhzit Feb 17, 2025
ee25a8b
Update Hyperfy service FQDN environment variable to include port
HowieDuhzit Feb 17, 2025
75a8d9c
Merge pull request #11 from hyperfy-xyz/dev
HowieDuhzit Feb 17, 2025
cc9051a
refactor: update Hyperfy docker-compose configuration with dynamic en…
HowieDuhzit Feb 17, 2025
9b4f007
feat: add SEO and social media meta tags to index.html
HowieDuhzit Feb 18, 2025
3b7bcf1
refactor: simplify Dockerfile build process and remove unnecessary co…
HowieDuhzit Feb 18, 2025
2f5d821
Merge pull request #12 from hyperfy-xyz/dev
HowieDuhzit Feb 18, 2025
e03cb9e
Merge pull request #13 from hyperfy-xyz/dev
HowieDuhzit Feb 19, 2025
e9006fc
Merge remote-tracking branch 'origin/dev'
ashconnell Feb 20, 2025
8d76eda
Merge branch 'hyperfy-xyz:main' into Cool
HowieDuhzit Feb 20, 2025
e5046d4
Merge remote-tracking branch 'origin/dev'
ashconnell Feb 21, 2025
27826b2
Merge remote-tracking branch 'origin/dev'
ashconnell Feb 22, 2025
17161b1
Merge remote-tracking branch 'origin/dev'
ashconnell Feb 22, 2025
bba5f77
Merge pull request #17 from hyperfy-xyz/dev
HowieDuhzit Feb 23, 2025
92ddf53
Merge branch 'dev' of https://github.com/howieduhzit/hyperfy into dev
HowieDuhzit Feb 23, 2025
8863056
Merge branch 'dev' into Cool
HowieDuhzit Feb 23, 2025
e2ab01c
Merge pull request #15 from hyperfy-xyz/main
HowieDuhzit Feb 24, 2025
3be6d0d
Merge pull request #19 from hyperfy-xyz/dev
HowieDuhzit Feb 24, 2025
57ca87e
Merge pull request #21 from hyperfy-xyz/dev
HowieDuhzit Feb 28, 2025
dea0b89
Update docker-compose.yaml
HowieDuhzit Mar 1, 2025
5989f61
fix: AppsPane component rendering and interaction
HowieDuhzit Mar 1, 2025
3f9d86f
Merge branch 'Cool' of https://github.com/howieduhzit/hyperfy into Cool
HowieDuhzit Mar 1, 2025
cbc0756
feat: Enhance Dockerfile with commit hash and alpine base
HowieDuhzit Mar 1, 2025
a1383fc
Merge pull request #22 from hyperfy-xyz/dev
HowieDuhzit Mar 3, 2025
81e3b3f
Merge pull request #24 from hyperfy-xyz/dev
HowieDuhzit Mar 4, 2025
8308e07
Merge branch 'dev' of https://github.com/howieduhzit/hyperfy into Cool
HowieDuhzit Mar 4, 2025
3fb55f2
Merge branch 'dev' of https://github.com/hyperfy-xyz/hyperfy into Cool
HowieDuhzit Mar 4, 2025
5ffb018
Merge remote-tracking branch 'origin/hyperfy-xyz-dev' into Cool
HowieDuhzit Mar 4, 2025
9fecd7a
Merge pull request #26 from hyperfy-xyz/dev
HowieDuhzit Mar 4, 2025
efe350c
Coolify Docker Files and SEO
HowieDuhzit Mar 4, 2025
0a00330
Merge branch 'dev' into Cool
HowieDuhzit Mar 6, 2025
5f67bd3
Merge pull request #27 from hyperfy-xyz/dev
HowieDuhzit Mar 6, 2025
ce8df1e
Merge branch 'dev' into Cool
HowieDuhzit Mar 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.env*
.cursorrules
!.env.example
*.notes.md
.notes/
Expand Down
17 changes: 1 addition & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
FROM node:22-alpine
RUN apk add --no-cache curl

# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json package-lock.json ./

# Install dependencies
RUN npm install

# Copy the rest of the application code
COPY . .
COPY .env.example .env

RUN npm run build || exit 0

ARG COMMIT_HASH=local
ENV COMMIT_HASH=${COMMIT_HASH:-local}

# Expose the port the app runs on
EXPOSE 3000

# Healthcheck using curl
HEALTHCHECK --interval=2s --timeout=10s --start-period=5s --retries=5 \
CMD curl -f http://localhost:3000/status || exit 1

# Start the application
CMD [ "npm", "run", "start" ]
CMD [ "npm", "run", "start" ]
24 changes: 24 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# documentation: https://github.com/hyperfy-xyz/hyperfy
# slogan: A Standalone persistent world hosted on your own domain!
# tags: ThreeJS,NODE,Hyperfy,Metaverse,Self-Hosted
# logo: svgs/hyperfy.svg
# port: 3000

services:
hyperfy:
image: ghcr.io/hyperfy-xyz/hyperfy:main
environment:
- SERVICE_FQDN_HYPERFY_3000
- JWT_SECRET=${SERVICE_PASSWORD_JWT}
- ADMIN_CODE=${SERVICE_PASSWORD_ADMIN}
- PUBLIC_WS_URL=${SERVICE_FQDN_HYPERFY}/ws
- PUBLIC_API_URL=${SERVICE_FQDN_HYPERFY}/api
- PUBLIC_ASSETS_URL=${SERVICE_FQDN_HYPERFY}/assets
- SAVE_INTERVAL=${SAVE_INTERVAL:-60}
- WORLD=${WORLD:-world}
- PUBLIC_MAX_UPLOAD_SIZE=${PUBLIC_MAX_UPLOAD_SIZE:-32}
volumes:
- type: bind
source: ./${WORLD}
target: /app/${WORLD}
is_directory: true
7 changes: 0 additions & 7 deletions docs/README.md

This file was deleted.

50 changes: 0 additions & 50 deletions docs/blender-exporter.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/commands.md

This file was deleted.

105 changes: 0 additions & 105 deletions docs/hyp-format.md

This file was deleted.

28 changes: 0 additions & 28 deletions docs/models.md

This file was deleted.

34 changes: 0 additions & 34 deletions docs/ref/Action.md

This file was deleted.

21 changes: 0 additions & 21 deletions docs/ref/Anchor.md

This file was deleted.

Loading