define PORT
This commit is contained in:
parent
10acbbfd24
commit
1fac45f084
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Docker set up on $KAMAL_HOSTS..."
|
||||
echo ">>>>>>>>>>>>>>>> Docker set up on $KAMAL_HOSTS..."
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
# KAMAL_DESTINATION (if set)
|
||||
# KAMAL_RUNTIME
|
||||
|
||||
echo "$KAMAL_PERFORMER deployed $KAMAL_VERSION to $KAMAL_DESTINATION in $KAMAL_RUNTIME seconds"
|
||||
echo ">>>>>>>>>>>>>>>> $KAMAL_PERFORMER deployed $KAMAL_VERSION to $KAMAL_DESTINATION in $KAMAL_RUNTIME seconds"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Rebooted kamal-proxy on $KAMAL_HOSTS"
|
||||
echo ">>>>>>>>>>>>>>>> Rebooted kamal-proxy on $KAMAL_HOSTS"
|
||||
|
|
|
@ -32,19 +32,19 @@ fi
|
|||
current_branch=$(git branch --show-current)
|
||||
|
||||
if [ -z "$current_branch" ]; then
|
||||
echo "Not on a git branch, aborting..." >&2
|
||||
echo ">>>>>>>>>>>>>>>> Not on a git branch, aborting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
remote_head=$(git ls-remote $first_remote --tags $current_branch | cut -f1)
|
||||
|
||||
if [ -z "$remote_head" ]; then
|
||||
echo "Branch not pushed to remote, aborting..." >&2
|
||||
echo ">>>>>>>>>>>>>>>> Branch not pushed to remote, aborting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$KAMAL_VERSION" != "$remote_head" ]; then
|
||||
echo "Version ($KAMAL_VERSION) does not match remote HEAD ($remote_head), aborting..." >&2
|
||||
echo ">>>>>>>>>>>>>>>> Version ($KAMAL_VERSION) does not match remote HEAD ($remote_head), aborting..." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ proxy:
|
|||
timeout: 2
|
||||
|
||||
# how long to wait for new containers to boot
|
||||
deploy_timeout: 270
|
||||
deploy_timeout: 300
|
||||
|
||||
# Credentials for your image host.
|
||||
registry:
|
||||
|
@ -47,14 +47,11 @@ builder:
|
|||
# RUBY_VERSION: <%= File.read('.ruby-version').strip %>
|
||||
|
||||
|
||||
|
||||
# Inject ENV variables into containers (secrets come from .kamal/secrets).
|
||||
#
|
||||
# env:
|
||||
# clear:
|
||||
# DB_HOST: 192.168.0.2
|
||||
# secret:
|
||||
# - RAILS_MASTER_KEY
|
||||
env:
|
||||
clear:
|
||||
PORT: 4000
|
||||
secret:
|
||||
- DATABASE_PASSWORD
|
||||
|
||||
# Aliases are triggered with "bin/kamal <alias>". You can overwrite arguments on invocation:
|
||||
# "bin/kamal logs -r job" will tail logs from the first server in the job section.
|
||||
|
|
|
@ -30,7 +30,7 @@ describe('image', function () {
|
|||
describe('getStoryboard', function () {
|
||||
this.timeout(1000*60*15)
|
||||
it('should accept a URL and return a path to image on disk', async function () {
|
||||
const url = 'http://38.242.193.246:8081/projektmelody-chaturbate-2025-01-11.mp4'
|
||||
const url = 'http://38.242.193.246:8081/original-20250109T020401Z.mp4'
|
||||
const imagePath = await getStoryboard(url)
|
||||
expect(imagePath).to.match(/\.png/)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue