This commit is contained in:
2026-04-10 20:29:45 -04:00
parent b23d78e0a4
commit 92364ba5be
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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)

View File

@ -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