Skip to content

Commit

Permalink
add env for migrate, precompile and create db on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
featheredtoast committed Nov 7, 2023
1 parent b009a3c commit b6a02d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/offline-page.template.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
env:
MIGRATE_ON_BOOT: 1
PRECOMPILE_ON_BOOT: 1
CREATE_DB_ON_BOOT: 1

run:
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
Expand Down

0 comments on commit b6a02d4

Please sign in to comment.