diff --git a/.dockerignore b/.dockerignore index ce8c2e3..258bd87 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,3 +9,5 @@ /storage/logs/* /.github /.idea +/.*.cache +/test-files diff --git a/.gitignore b/.gitignore index b638573..fb37ca9 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ yarn-error.log /.idea /.vscode .php-cs-fixer.cache +/test-files diff --git a/docker-compose.testing.yml b/docker-compose.testing.yml new file mode 100644 index 0000000..d08cf00 --- /dev/null +++ b/docker-compose.testing.yml @@ -0,0 +1,22 @@ +--- + +# WARNING +# This file is for development testing only. +# Refer to the readme for an example that you might want to use +# for running the application in actual usage. + +version: "2" +services: + rss: + container_name: rss_dev + build: + context: ./ + dockerfile: ./docker/Dockerfile + environment: + - APP_NAME=RSS + - APP_FEED_UPDATE_FREQUENCY=5 + volumes: + - ./test-files:/app/storage + ports: + - "8080:80" + restart: unless-stopped