kopia lustrzana https://github.com/bugout-dev/moonstream
				
				
				
			Deploy updates
							rodzic
							
								
									eed1e2297d
								
							
						
					
					
						commit
						e27308f809
					
				|  | @ -15,8 +15,8 @@ PREFIX_CRIT="${C_RED}[CRIT]${C_RESET} [$(date +%d-%m\ %T)]" | |||
| 
 | ||||
| # Main | ||||
| AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION:-us-east-1}" | ||||
| APP_DIR="${APP_DIR:-/home/ubuntu/moonstream}" | ||||
| SECRETS_DIR="${SECRETS_DIR:-/home/ubuntu/moonstream-secrets}" | ||||
| APP_DIR="${APP_DIR:-/home/ubuntu/api}" | ||||
| SECRETS_DIR="${SECRETS_DIR:-/home/ubuntu/nodebalancer-secrets}" | ||||
| PARAMETERS_ENV_PATH="${SECRETS_DIR}/app.env" | ||||
| SCRIPT_DIR="$(realpath $(dirname $0))" | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,11 +5,11 @@ StartLimitIntervalSec=300 | |||
| StartLimitBurst=3 | ||||
| 
 | ||||
| [Service] | ||||
| WorkingDirectory=/home/ubuntu/moonstream/nodebalancer | ||||
| EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env | ||||
| WorkingDirectory=/home/ubuntu/api/nodebalancer | ||||
| EnvironmentFile=/home/ubuntu/nodebalancer-secrets/app.env | ||||
| Restart=on-failure | ||||
| RestartSec=15s | ||||
| ExecStart=/home/ubuntu/moonstream/nodebalancer/nodebalancer server \ | ||||
| ExecStart=/home/ubuntu/api/nodebalancer/nodebalancer server \ | ||||
|     -host "${AWS_LOCAL_IPV4}" \ | ||||
|     -port 8544 \ | ||||
|     -healthcheck \ | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 kompotkot
						kompotkot