service/services/altideal.spec

12 lines
442 B
Plaintext

name: altideal
command: ./bin/altideal -k /srv/${ENVIRONMENT}/jwt_key
environment-variables:
- LD_LIBRARY_PATH=/usr/local/lib
directory: /home/lukc/Sources/altideal
consumes: auth, pubsub, postgres
%check
name: database setup
file: /srv/${ENVIRONMENT}/altideal-is-setup
command: cd /home/lukc/Sources/altideal && PGHOST=/tmp/postgresql-${ENVIRONMENT} ./setup.zsh --database && touch /srv/${ENVIRONMENT}/altideal-is-setup