45 lines
813 B
YAML
45 lines
813 B
YAML
service: bowli-landing
|
|
image: daily_meal/bowli-landing
|
|
deploy_timeout: 120
|
|
|
|
x-hosts: &hosts
|
|
- <%= ENV.fetch("SSH_HOST", "89.167.35.217") %>
|
|
|
|
servers:
|
|
web:
|
|
hosts: *hosts
|
|
|
|
proxy:
|
|
host: landing.leonmorival.com
|
|
ssl: false
|
|
app_port: 3000
|
|
run:
|
|
http_port: 8081
|
|
https_port: 8443
|
|
healthcheck:
|
|
path: /
|
|
|
|
registry:
|
|
server: gitea.leonmorival.com
|
|
username: leon.morival@gmail.com
|
|
password:
|
|
- GITEA_TOKEN
|
|
|
|
ssh:
|
|
user: <%= ENV.fetch("SSH_USER", "root") %>
|
|
keys_only: true
|
|
key_data:
|
|
- SSH_PRIVATE_KEY
|
|
config: false
|
|
|
|
builder:
|
|
arch: amd64
|
|
|
|
env:
|
|
clear:
|
|
NODE_ENV: production
|
|
NEXT_TELEMETRY_DISABLED: "1"
|
|
NEXT_PUBLIC_SITE_URL: https://landing.leonmorival.com
|
|
NEXT_PUBLIC_API_URL: https://bemeal.leonmorival.com/api
|
|
NEXT_PUBLIC_SUPPORT_EMAIL: support@bowli.app
|