mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-02 02:57:15 +08:00
Merge d81f7a14d7fca00dcbe5607ee142ef8869cb8030 into 4cac6b6ce8fbdcaf6ef640b8c0d80a8afe2c9a37
This commit is contained in:
commit
ec787ddb01
@ -11,10 +11,15 @@ There is a sample docker-compose file for setting up a docker container to setup
|
||||
- npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
|
||||
|
||||
## Installation:
|
||||
```
|
||||
docker build . -t rogueserver
|
||||
docker compose -f docker.compose.Example.yml up -d
|
||||
```
|
||||
|
||||
The docker compose file should automatically implement a container with mariadb with an empty database and the default user and password combo of pokerogue:pokerogue
|
||||
|
||||
### src/utils.ts:224-225 (in pokerogue)
|
||||
Replace both URLs (one on each line) with the local API server address from rogueserver.go (0.0.0.0:8001) (or whatever port you picked)
|
||||
### .env and .env.development (in pokerogue)
|
||||
Replace the URL on VITE_SERVER_URL in both files to match your local ip and port of rogueserver if nessessary
|
||||
|
||||
# If you are on Windows
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
services:
|
||||
server:
|
||||
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb
|
||||
image: ghcr.io/pagefaultgames/rogueserver:master
|
||||
image: rogueserver:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
|
Loading…
x
Reference in New Issue
Block a user