mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-29 02:57:24 +02:00
docker: Add nginx logs to Makefile log target
This commit is contained in:
parent
95f0896a94
commit
32c9c53acc
@ -12,6 +12,10 @@ build:
|
||||
|
||||
logs:
|
||||
docker logs factorio-server
|
||||
echo "Nginx Access Logs"
|
||||
docker exec -it factorio-server cat /var/log/nginx/access.log
|
||||
echo "Nginx Error Logs"
|
||||
docker exec -it factorio-server cat /var/log/nginx/error.log
|
||||
|
||||
run:
|
||||
docker run -d --name factorio-server -v $(SECURITY_PATH):/security -v $(SAVES_PATH):/opt/factorio/saves -v $(MODS_PATH):/opt/factorio/mods $(PORT_FORWARD) -e ADMIN_PASSWORD=$(ADMIN_PASS) factorio-server-manager
|
||||
|
Loading…
Reference in New Issue
Block a user