Merge pull request #2673 from AndrewKvalheim/docker-production-assets

Serve precompiled assets in example Docker Compose configuration
This commit is contained in:
Stella Rouzi 2020-10-28 17:54:42 +02:00 committed by GitHub
commit 90ef93cddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ services:
env_file: .env.production # see dotenv.example file
environment:
OSEM_DB_HOST: production_database
RAILS_SERVE_STATIC_FILES: 'true'
command: /osem/bin/osem-init.sh
volumes:
- osem_production_web_data:/osem/public/system