Skip to content

Commit

Permalink
feat: clean up docker configuration (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgazelka authored Dec 16, 2024
1 parent 4a9ff03 commit 2d0efd4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ RUN --mount=type=cache,target=${CARGO_HOME}/registry \
FROM ubuntu:24.04 AS runtime-base
RUN apt-get update && \
apt-get install -y \
libssl3 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ENV RUST_BACKTRACE=1 \
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,16 @@ sequenceDiagram

## Running

### Debug mode
### `main` branch

```bash
docker compose up --build
docker compose up --pull always
```

### Release mode
### With local build (for development)

```bash
docker compose -f docker-compose.release.yml up --build
docker compose up --build
```

## Features
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
services:
hyperion-proxy:
image: ghcr.io/hyperion-mc/hyperion/hyperion-proxy:latest
build:
context: .
dockerfile: Dockerfile
target: hyperion-proxy
ports:
- "25565:25565"
command: [ "--server", "tag:35565", "0.0.0.0:25565" ]
Expand All @@ -13,6 +17,10 @@ services:
- tag
tag:
image: ghcr.io/hyperion-mc/hyperion/tag:latest
build:
context: .
dockerfile: Dockerfile
target: tag
ports:
- "27750:27750"
expose:
Expand Down

0 comments on commit 2d0efd4

Please sign in to comment.