mirror of
https://github.com/keven1024/015.git
synced 2026-06-08 05:14:33 +00:00
chore: remove example environment file and update docker-compose for config file integration
(cherry picked from commit ea0065b415)
This commit is contained in:
@@ -1,24 +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
|
||||
app:
|
||||
image: fudaoyuanicu/015-app:latest
|
||||
container_name: 015-app
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
- ./config.yaml:/app/config.yaml
|
||||
ports:
|
||||
- '8080:80'
|
||||
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
|
||||
worker:
|
||||
image: fudaoyuanicu/015-worker:latest
|
||||
container_name: worker
|
||||
volumes:
|
||||
- ./uploads:/uploads
|
||||
- ./config.yaml:/config.yaml
|
||||
depends_on:
|
||||
- app
|
||||
- redis
|
||||
redis:
|
||||
image: redis:7
|
||||
container_name: redis
|
||||
|
||||
Reference in New Issue
Block a user