generated from coop-cloud/example
decentral1se 73cf4bf725 | ||
---|---|---|
.env.sample | ||
README.md | ||
abra.sh | ||
compose.yml | ||
entrypoint.sh | ||
env.docker.tmpl | ||
worker-entrypoint.sh |
README.md
{{ .Name }}
{{ .Description }}
- Category:
- Status:
- Image:
- Healthcheck:
- Backups:
- Email:
- Tests:
- SSO:
Basic usage
- Set up Docker Swarm and
abra
- Deploy
coop-cloud/traefik
abra app new ${REPO_NAME} --secrets
(optionally with--pass
if you'd like to save secrets inpass
)abra app YOURAPPDOMAIN config
- be sure to change$DOMAIN
to something that resolves to your Docker swarm boxabra app YOURAPPDOMAIN deploy
- Open the configured domain in your browser to finish set-up
weird stuff:
- env.docker has to be in the running container in /var/www/.env and owned by www-data. this is done via
configs:
statement in compose.yml, and then via entrypoint (it copies the file and changes permissions). this is a hack and there's probably a better way of doing it, but putting the file directly in /var/www/.env as a config doesn't work: the file is empty, owned by root and the app crashes saying that it's a read-only filesystem.