mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-27 17:27:12 +01:00
@@ -65,6 +65,7 @@ services:
|
|||||||
image: invoiceninja/invoiceninja:5
|
image: invoiceninja/invoiceninja:5
|
||||||
env_file: env
|
env_file: env
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./config/cron.sh:/usr/local/bin/cron.sh
|
||||||
- ./config/hosts:/etc/hosts:ro
|
- ./config/hosts:/etc/hosts:ro
|
||||||
- ./docker/app/public:/var/www/app/public:rw,delegated
|
- ./docker/app/public:/var/www/app/public:rw,delegated
|
||||||
- ./docker/app/storage:/var/www/app/storage:rw,delegated
|
- ./docker/app/storage:/var/www/app/storage:rw,delegated
|
||||||
|
|||||||
@@ -84,7 +84,6 @@ fi
|
|||||||
|
|
||||||
# Set permission for web server to create/update files
|
# Set permission for web server to create/update files
|
||||||
chown -R invoiceninja:www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
|
chown -R invoiceninja:www-data /var/www/app/storage /var/www/app/public /var/www/app/bootstrap
|
||||||
chmod +x /usr/local/bin/cron.sh
|
|
||||||
|
|
||||||
# Initialize values that might be stored in a file
|
# Initialize values that might be stored in a file
|
||||||
file_env 'APP_KEY'
|
file_env 'APP_KEY'
|
||||||
|
|||||||
Reference in New Issue
Block a user