Refactor and enhance Gallus Pub website:
- **Added component-specific styles**: Introduced scoped CSS files for `Hero`, `Header`, `Drinks`, `Footer`, and `Welcome` components. - **Expanded functionality**: Added `Drinks` section with a new layout and stylized elements. - **Assets fix**: Replaced asset links with correct paths, ensuring consistency for images and files (e.g., `Welcome.png`, `Menu.pdf`). - **Reorganized header and footer**: Modernized `Header` layout with a fixed navbar, added utility spacer, and redesigned footer to include additional details. - **Integrated Docker and CI/CD**: Added `Dockerfile`, `fly.toml`, and `.woodpecker.yml` for multi-environment deployment. - **Improved homepage**: Incorporated `Drinks` component and updated styles for cohesive design. - **CSS cleanup**: Removed redundant global styles from `index.css` and migrated them to appropriate scoped styles. Complete revamp to provide modular and deployable updates for long-term scalability.
This commit is contained in:
42
Gallus_Pub_v1/fly.toml
Normal file
42
Gallus_Pub_v1/fly.toml
Normal file
@ -0,0 +1,42 @@
|
||||
app = "gallus-pub"
|
||||
primary_region = "fra" # Frankfurt region, change if needed
|
||||
kill_signal = "SIGINT"
|
||||
kill_timeout = 5
|
||||
|
||||
[build]
|
||||
dockerfile = "Dockerfile"
|
||||
|
||||
[env]
|
||||
PORT = "3000"
|
||||
NODE_ENV = "production"
|
||||
|
||||
[http_service]
|
||||
internal_port = 3000
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ["app"]
|
||||
|
||||
[http_service.concurrency]
|
||||
type = "connections"
|
||||
hard_limit = 1000
|
||||
soft_limit = 500
|
||||
|
||||
[[http_service.checks]]
|
||||
interval = "30s"
|
||||
timeout = "5s"
|
||||
grace_period = "10s"
|
||||
method = "GET"
|
||||
path = "/"
|
||||
protocol = "http"
|
||||
tls_skip_verify = false
|
||||
|
||||
[metrics]
|
||||
port = 9091
|
||||
path = "/metrics"
|
||||
|
||||
[[vm]]
|
||||
memory = "512MB"
|
||||
cpu_kind = "shared"
|
||||
cpus = 1
|
||||
Reference in New Issue
Block a user