Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix local docker setup #491

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ Optional services may be started by enabling the profile flag, e.g. `--profile <

Current services and exposed ports are:

| Name | Ports | Description | Profile |
|-----------|-------|---------------------|------------|
| waterfall | 25565 | TCP, Minecraft | |
| paper | | | |
| pvp | | | |
| mariadb | 3306 | TCP, Database | |
| postgres | 5432 | TCP, Database | |
| rabbitmq | 5672 | TCP, AMQP | |
| | 15672 | HTTP, Management UI | |
| grafana | 3000 | HTTP, Grafana UI | monitoring |
| Name | Ports | Description | Profile |
|----------|-------|---------------------|------------|
| proxy | 25565 | TCP, Minecraft | |
| paper | | | |
| pvp | | | |
| mariadb | 3306 | TCP, Database | |
| postgres | 5432 | TCP, Database | |
| rabbitmq | 5672 | TCP, AMQP | |
| | 15672 | HTTP, Management UI | |
| grafana | 3000 | HTTP, Grafana UI | monitoring |

#### Using the console
For the minecraft servers and other interactive containers, you can attach to the console to run commands:
Expand Down
12 changes: 9 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
### Minecraft ###
#################

waterfall:
proxy:
image: itzg/bungeecord@sha256:f67819eeefd9fe6d4ee5f6f4f3c67c171ba92e27cb22166a4abad3d1874afd4c
restart: unless-stopped
tty: true
Expand All @@ -31,6 +31,10 @@ services:
CIV_POSTGRES_PASSWORD: postgres
ports:
- "25565:25577"
volumes:
- ./containers/data/proxy:/data
- ./ansible/files/proxy-config:/config
- ./ansible/files/proxy-plugins:/plugins

paper:
image: itzg/minecraft-server@sha256:346cb47929edc36e977f3b064f882a9c919df65fe4807ac35c05fdacf442822f
Expand All @@ -42,6 +46,8 @@ services:
condition: service_healthy
postgres:
condition: service_healthy
rabbitmq:
condition: service_healthy
environment:
TYPE: 'paper'
VERSION: '1.18.2'
Expand Down Expand Up @@ -74,8 +80,8 @@ services:
CIV_RABBITMQ_PASSWORD: rabbitmq
volumes:
- ./containers/data/paper:/data
- ./ansible/templates/stacks/minecraft/paper-config:/config
- ./ansible/templates/stacks/minecraft/paper-plugins:/plugins
- ./ansible/files/paper-config:/config
- ./ansible/files/paper-plugins:/plugins

#################
### Databases ###
Expand Down
Loading