mirror of
				https://ceregatti.org/git/daniel/dayzdockerserver.git
				synced 2025-10-31 05:23:31 +00:00 
			
		
		
		
	 85e59ae8c6
			
		
	
	
		85e59ae8c6
		
	
	
	
	
		
			
			Refactor the main page to show the Steam login when none is detected. We can't do anything without it at first. Later, we can detect if the server is installed and allow operations. Or not. Remove server container. This will be created and maintained by the web container going forward. Use node 18, as vite requires it. Use a single package.json for everything. This way it can be installed at the root of the container and not show up in the bind mount. Refactor store to include actions. We can just define them and call them, instead of using fetch directly everywhere. WIP. Begin to implement some of the backend methods, like the steam login. It works! Remove the old code.
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			672 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| volumes:
 | |
|   # Only in the web container.
 | |
|   # For steamcmd files and resource files used by the scripts.
 | |
|   homedir_main:
 | |
| 
 | |
|   # Shared by all containers.
 | |
|   # Mods.
 | |
|   mods:
 | |
|   # Server files
 | |
|   serverfiles:
 | |
|   # Upstream mission files
 | |
|   mpmissions:
 | |
| 
 | |
| services:
 | |
| 
 | |
|   web:
 | |
|     build:
 | |
|       context: web
 | |
|       args:
 | |
|         - USER_ID
 | |
|     user: ${USER_ID}
 | |
|     hostname: web
 | |
|     volumes:
 | |
|       - homedir_main:/home/user
 | |
|       - serverfiles:/serverfiles
 | |
|       - mpmissions:/serverfiles/mpmissions
 | |
|       - mods:/serverfiles/steamapps/workshop/content
 | |
|       - mods:/mods
 | |
|       - ./files:/files
 | |
|       - ./web:/web
 | |
|     ports:
 | |
|       - "8000:8000/tcp"
 | |
|     restart: no
 | |
|     env_file:
 | |
|       - .env
 |