Comments (2)
Thanks @lucasfcnunes for this explaination.
When using the provided docker-compose files, the data of the postgres container is persisted in volumes. I assume you deleted them, or you setup the server in demo mode.
from openmu.
TL;DR
On docker, be sure to volume mount the correct path for the postgres database persistance.
Did you use docker (containers)? If so, you need to set up a volume to persist data across restarts. Storage/data inside containers is ephemeral by default.
https://docs.docker.com/storage
- The data doesn't persist when that container no longer exists, and it can be difficult to get the data out of the container if another process needs it.
Docker has two options for containers to store files on the host machine, so that the files are persisted even after the container stops: volumes, and bind mounts.
volumes:
# ...
dbdata:
# ...
services:
# ...
database:
image: postgres
container_name: postgres
restart: always
environment:
POSTGRES_PASSWORD: admin
POSTGRES_DB: openmu
POSTGRES_USER: postgres
ports:
- "5432"
volumes:
- dbdata:/var/lib/postgresql/data
# ...
PS: If you ever delete the volume dbdata
you're gonna lose your game data.
from openmu.
Related Issues (20)
- [Feature] Admin Panel Localization
- [Bug] Adding points by /add disconnects the character from BC and DS HOT 2
- OpenMU on Kubernetes HOT 2
- Local Run - No Internet HOT 3
- Can I help with any tasks? HOT 3
- Can't build the solution HOT 2
- Prevent equipping weapons and shields when not enough hands are free HOT 3
- Level-up points should be compensated when gaining Hero Status beyond level 220
- Guardian Angel damage absorption works in reverse HOT 4
- CPU 100% when the server is running HOT 10
- I love to help HOT 3
- Broken link on packets docs HOT 1
- A Fenrir cannot be repaired with a Jewel of Bless
- Can't promote guild members to battle master and assistant guild master HOT 1
- Guild Alliance, Hostility, Suspend Hostility nor working HOT 1
- The client cannot connect to the server. HOT 4
- munique net is slow HOT 2
- Monsters are not hit or in wrong coordinate
- excelent job, add season1 ver 1.02i proto koreano HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmu.