Skip to content

Commit

Permalink
Added docker-compose setup for easy local container testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddanbrown committed Jan 21, 2024
1 parent b75ed67 commit 7b73cca
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
/storage/logs/*
/.github
/.idea
/.*.cache
/test-files
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ yarn-error.log
/.idea
/.vscode
.php-cs-fixer.cache
/test-files
22 changes: 22 additions & 0 deletions docker-compose.testing.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7b73cca

Please sign in to comment.