mirror of
https://github.com/typeable/octopod.git
synced 2024-11-23 01:03:45 +03:00
iko
9bcfdcf065
* Added link titles * Preserve metadata ordering * Added dev run commands to Makefile * Added explanation to the development guide * Made caddy 2 the only config since we probably don't want to maintain two versions. * Use `id` instead of `ord` * Added ghcid version of Caddyfile * Renamed staging to deployment
30 lines
995 B
Bash
Executable File
30 lines
995 B
Bash
Executable File
#!/bin/bash
|
|
|
|
(cd migrations && sqitch deploy -t postgresql://octopod:octopod@localhost:5432/octopod)
|
|
|
|
export MOUNT_DIR=./dev
|
|
|
|
export PROJECT_NAME="Example Project"
|
|
export BASE_DOMAIN=octopod.example.com
|
|
export NAMESPACE=deployment
|
|
export ARCHIVE_RETENTION=60
|
|
export STATUS_UPDATE_TIMEOUT=600
|
|
export CREATION_COMMAND=$MOUNT_DIR/echo.sh
|
|
export UPDATE_COMMAND=$MOUNT_DIR/echo.sh
|
|
export UPDATE_ENVS_COMMAND=$MOUNT_DIR/echo.sh
|
|
export ARCHIVE_COMMAND=$MOUNT_DIR/echo.sh
|
|
export CHECKING_COMMAND=$MOUNT_DIR/echo.sh
|
|
export CLEANUP_COMMAND=$MOUNT_DIR/echo.sh
|
|
export ARCHIVE_CHECKING_COMMAND=$MOUNT_DIR/echo.sh
|
|
export TAG_CHECKING_COMMAND=$MOUNT_DIR/echo.sh
|
|
export INFO_COMMAND=$MOUNT_DIR/info.sh
|
|
$1/bin/octopod-exe \
|
|
--port 4443 \
|
|
--ui-port 3002 \
|
|
--ws-port 4020 \
|
|
--db "host='127.0.0.1' port=5432 user='octopod' password='octopod'" \
|
|
--db-pool-size 10 \
|
|
--tls-cert-path dev/certs/server_cert.pem \
|
|
--tls-key-path dev/certs/server_key.pem \
|
|
--tls-store-path /tmp/tls_store
|