mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
Update docker compose configuration
This commit is contained in:
@@ -8,8 +8,12 @@ This monorepo will eventually contain all civ projects and development
|
||||
|
||||
### Containers
|
||||
A docker compose stack is provided to help test containers built from
|
||||
this repo. To start the stack, run the following command:
|
||||
`docker compose up --build`. Please note that this stack is NOT suitable for production use.
|
||||
this repo. To start the stack, run the following commands:
|
||||
|
||||
1. `gradle :ansible:build`
|
||||
2. `docker compose up`
|
||||
|
||||
Please note that this stack is NOT suitable for production use.
|
||||
|
||||
Container data (world, logs, etc.) are mounted at [./containers/data](./containers/data).
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# CivAnsible
|
||||
This project is a hybrid gradle/ansible project that is designed to provision and deploy services to a server.
|
||||
|
||||
Vendored plugins are located in `src/` (gradle), since they are used to build the end plugin directory (`/build/`)
|
||||
Configs are located in `files/`, since they are purely copied by ansible
|
||||
|
||||
## Prerequisites
|
||||
1. Create a user on the server named `actions` with sudo privileges
|
||||
2. Create Environments in Github settings with the following environment secrets:
|
||||
|
||||
@@ -34,7 +34,7 @@ services:
|
||||
volumes:
|
||||
- ./containers/data/proxy:/data
|
||||
- ./ansible/files/proxy-config:/config
|
||||
- ./ansible/files/proxy-plugins:/plugins
|
||||
- ./ansible/build/proxy-plugins:/plugins
|
||||
|
||||
paper:
|
||||
image: itzg/minecraft-server@sha256:346cb47929edc36e977f3b064f882a9c919df65fe4807ac35c05fdacf442822f
|
||||
@@ -81,7 +81,7 @@ services:
|
||||
volumes:
|
||||
- ./containers/data/paper:/data
|
||||
- ./ansible/files/paper-config:/config
|
||||
- ./ansible/files/paper-plugins:/plugins
|
||||
- ./ansible/build/paper-plugins:/plugins
|
||||
|
||||
#################
|
||||
### Databases ###
|
||||
|
||||
Reference in New Issue
Block a user