mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 08:33:36 +00:00
refactor: update Docker configuration & docs
- Modified docker-compose.yml to clarify that the server runs as a non-root user. - Updated Dockerfile to use ARG for VITE_SERVER_URL, allowing build-time overrides. - Replaced inline Nginx configuration with a separate nginx.conf file for better maintainability. - Adjusted documentation to reflect changes in Docker setup and troubleshooting steps.
This commit is contained in:
@@ -59,11 +59,12 @@ services:
|
||||
# If you need to work on a project, create it INSIDE the container
|
||||
# or use a separate docker-compose override file
|
||||
|
||||
# Security: Run as non-root user (already set in Dockerfile)
|
||||
# Security: Server runs as non-root user (already set in Dockerfile)
|
||||
# Security: No privileged mode
|
||||
# Security: No host network access
|
||||
# Security: No host filesystem mounts
|
||||
|
||||
volumes:
|
||||
automaker-data:
|
||||
name: automaker-data
|
||||
# Named volume - completely isolated from host filesystem
|
||||
|
||||
Reference in New Issue
Block a user