mirror of
https://github.com/Dvorinka/PPve.git
synced 2026-06-04 04:22:58 +00:00
Add files via upload
This commit is contained in:
@@ -45,11 +45,11 @@ RUN mkdir -p data && chown -R appuser:appgroup /app
|
||||
USER appuser
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8080
|
||||
EXPOSE 80
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||
|
||||
# Run the application
|
||||
CMD ["./contact-scrape"]
|
||||
@@ -5,7 +5,7 @@
|
||||
# Variables
|
||||
BINARY_NAME=contact-scrape
|
||||
BUILD_DIR=build
|
||||
PORT=8080
|
||||
PORT=80
|
||||
|
||||
help: ## Show this help message
|
||||
@echo "Available commands:"
|
||||
|
||||
@@ -9,7 +9,7 @@ WorkingDirectory=/opt/contact-scrape
|
||||
ExecStart=/opt/contact-scrape/contact-scrape
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
Environment=PORT=8080
|
||||
Environment=PORT=80
|
||||
|
||||
# Security settings
|
||||
NoNewPrivileges=true
|
||||
|
||||
Reference in New Issue
Block a user