mirror of
https://github.com/keven1024/015.git
synced 2026-06-04 11:29:36 +00:00
chore: update .env.example for Redis configuration and add docker-compose file for app, worker, and Redis services
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
app:
|
||||
image: fudaoyuanicu/015-app:latest
|
||||
container_name: 015-app
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
ports:
|
||||
- "8080:80"
|
||||
env_file: '.env'
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
worker:
|
||||
image: fudaoyuanicu/015-worker:latest
|
||||
container_name: worker
|
||||
env_file: '.env'
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
depends_on:
|
||||
- app
|
||||
- redis
|
||||
redis:
|
||||
image: redis:7
|
||||
container_name: redis
|
||||
Reference in New Issue
Block a user