Skip to content

Commit 7b73cca

Browse files
committed
Added docker-compose setup for easy local container testing
1 parent b75ed67 commit 7b73cca

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
/storage/logs/*
1010
/.github
1111
/.idea
12+
/.*.cache
13+
/test-files

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ yarn-error.log
2020
/.idea
2121
/.vscode
2222
.php-cs-fixer.cache
23+
/test-files

docker-compose.testing.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
3+
# WARNING
4+
# This file is for development testing only.
5+
# Refer to the readme for an example that you might want to use
6+
# for running the application in actual usage.
7+
8+
version: "2"
9+
services:
10+
rss:
11+
container_name: rss_dev
12+
build:
13+
context: ./
14+
dockerfile: ./docker/Dockerfile
15+
environment:
16+
- APP_NAME=RSS
17+
- APP_FEED_UPDATE_FREQUENCY=5
18+
volumes:
19+
- ./test-files:/app/storage
20+
ports:
21+
- "8080:80"
22+
restart: unless-stopped

0 commit comments

Comments
 (0)