Merge pull request #2673 from AndrewKvalheim/docker-production-assets
Serve precompiled assets in example Docker Compose configuration
This commit is contained in:
commit
90ef93cddd
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ services:
|
||||||
env_file: .env.production # see dotenv.example file
|
env_file: .env.production # see dotenv.example file
|
||||||
environment:
|
environment:
|
||||||
OSEM_DB_HOST: production_database
|
OSEM_DB_HOST: production_database
|
||||||
|
RAILS_SERVE_STATIC_FILES: 'true'
|
||||||
command: /osem/bin/osem-init.sh
|
command: /osem/bin/osem-init.sh
|
||||||
volumes:
|
volumes:
|
||||||
- osem_production_web_data:/osem/public/system
|
- osem_production_web_data:/osem/public/system
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue