bugfixes
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
TYPE=liberaforms
|
||||
DOMAIN=liberaforms.example.com
|
||||
LETS_ENCRYPT_ENV=production
|
||||
POST_DEPLOY_CMDS="setup_db"
|
||||
|
||||
# Secrets
|
||||
SECRET_SECRET_KEY_VERSION=v1
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
- `abra app config <domain-name>`
|
||||
- Deploy
|
||||
- `abra app deploy <domain-name>`
|
||||
- *Note: The deploy may hang, if so, perform the next step in another terminal and wait for the deploy to complete.*
|
||||
- Create tables
|
||||
- `abra app cmd <domain-name> app setup_db`
|
||||
> more info in [liberaforms docs](https://codeberg.org/LiberaForms/server/src/branch/main/docs/docker.md#create-the-database)
|
||||
|
||||
@ -85,6 +85,8 @@ services:
|
||||
volumes:
|
||||
- uploads:/liberaforms/uploads:ro
|
||||
- static:/liberaforms/static:ro
|
||||
environment:
|
||||
- STACK_NAME
|
||||
configs:
|
||||
- source: nginx_conf
|
||||
mode: 555
|
||||
@ -161,6 +163,7 @@ configs:
|
||||
nginx_conf:
|
||||
name: ${STACK_NAME}_nginx_conf_${NGINX_CONFIG_VERSION}
|
||||
file: nginx.conf
|
||||
template_driver: golang
|
||||
pg_backup:
|
||||
name: ${STACK_NAME}_pg_backup_${PG_BACKUP_VERSION}
|
||||
file: pg_backup.sh
|
||||
|
||||
Reference in New Issue
Block a user