mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-03 03:27:13 +08:00
Changes for testing
This commit is contained in:
parent
8e20875453
commit
1c35319016
2
.gitignore
vendored
2
.gitignore
vendored
@ -14,3 +14,5 @@ secret.key
|
|||||||
*.ipr
|
*.ipr
|
||||||
*.iws
|
*.iws
|
||||||
.vscode/launch.json
|
.vscode/launch.json
|
||||||
|
|
||||||
|
#local stuff
|
||||||
|
3
.vs/ProjectSettings.json
Normal file
3
.vs/ProjectSettings.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"CurrentProjectSetting": null
|
||||||
|
}
|
8
.vs/VSWorkspaceState.json
Normal file
8
.vs/VSWorkspaceState.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"ExpandedNodes": [
|
||||||
|
"",
|
||||||
|
"\\api"
|
||||||
|
],
|
||||||
|
"SelectedNode": "\\api\\endpoints.go",
|
||||||
|
"PreviewInSolutionExplorer": false
|
||||||
|
}
|
BIN
.vs/slnx.sqlite
Normal file
BIN
.vs/slnx.sqlite
Normal file
Binary file not shown.
13
beta.env
Normal file
13
beta.env
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
VITE_BYPASS_LOGIN=0
|
||||||
|
VITE_BYPASS_TUTORIAL=0
|
||||||
|
VITE_SERVER_URL=https://192.168.1.101:8001
|
||||||
|
VITE_DISCORD_CLIENT_ID=1248062921129459756
|
||||||
|
VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
|
||||||
|
VITE_I18N_DEBUG=1
|
||||||
|
debug=true
|
||||||
|
dbaddr=db
|
||||||
|
dbuser=pokerogue
|
||||||
|
dbpass=pokerogue
|
||||||
|
dbname=pokeroguedb
|
||||||
|
gameurl=http://192.168.1.100:8000
|
||||||
|
callbackurl=http://192.168.1.101:8001
|
13
beta.env.bak
Normal file
13
beta.env.bak
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
VITE_BYPASS_LOGIN=0
|
||||||
|
VITE_BYPASS_TUTORIAL=0
|
||||||
|
VITE_SERVER_URL=http://192.168.1.101:8001
|
||||||
|
VITE_DISCORD_CLIENT_ID=1248062921129459756
|
||||||
|
VITE_GOOGLE_CLIENT_ID=955345393540-2k6lfftf0fdnb0krqmpthjnqavfvvf73.apps.googleusercontent.com
|
||||||
|
VITE_I18N_DEBUG=1
|
||||||
|
debug=true
|
||||||
|
dbaddr=db
|
||||||
|
dbuser=pokerogue
|
||||||
|
dbpass=pokerogue
|
||||||
|
dbname=pokeroguedb
|
||||||
|
gameurl=http://192.168.1.100:8000
|
||||||
|
callbackurl=http://192.168.1.101:8001
|
@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
command: --debug --dbaddr db --dbuser pokerogue --dbpass pokerogue --dbname pokeroguedb --gameurl http://localhost:8000 --callbackurl http://localhost:8001
|
env_file:
|
||||||
|
- beta.env
|
||||||
image: ghcr.io/pagefaultgames/rogueserver:master
|
image: ghcr.io/pagefaultgames/rogueserver:master
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -30,6 +31,8 @@ services:
|
|||||||
- database:/var/lib/mysql
|
- database:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
|
||||||
# Watchtower is a service that will automatically update your running containers
|
# Watchtower is a service that will automatically update your running containers
|
||||||
# when a new image is available. This is useful for keeping your server up-to-date.
|
# when a new image is available. This is useful for keeping your server up-to-date.
|
||||||
|
57
docker-compose.Example.yml.bak
Normal file
57
docker-compose.Example.yml.bak
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
services:
|
||||||
|
server:
|
||||||
|
env_file:
|
||||||
|
- beta.env
|
||||||
|
image: ghcr.io/pagefaultgames/rogueserver:master
|
||||||
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
ports:
|
||||||
|
- "8001:8001"
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: mariadb:11
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: [ "CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized" ]
|
||||||
|
start_period: 10s
|
||||||
|
start_interval: 10s
|
||||||
|
interval: 1m
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: admin
|
||||||
|
MYSQL_DATABASE: pokeroguedb
|
||||||
|
MYSQL_USER: pokerogue
|
||||||
|
MYSQL_PASSWORD: pokerogue
|
||||||
|
volumes:
|
||||||
|
- database:/var/lib/mysql
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
ports:
|
||||||
|
- "3036:3036"
|
||||||
|
|
||||||
|
# Watchtower is a service that will automatically update your running containers
|
||||||
|
# when a new image is available. This is useful for keeping your server up-to-date.
|
||||||
|
# see https://containrrr.dev/watchtower/ for more information.
|
||||||
|
watchtower:
|
||||||
|
image: containrrr/watchtower
|
||||||
|
container_name: watchtower
|
||||||
|
restart: always
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
environment:
|
||||||
|
WATCHTOWER_CLEANUP: true
|
||||||
|
WATCHTOWER_SCHEDULE: "@midnight"
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
database:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal:
|
Loading…
x
Reference in New Issue
Block a user