mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
docker add cleanup service
This commit is contained in:
@@ -56,6 +56,25 @@ services:
|
||||
max-file: "3"
|
||||
networks:
|
||||
- appnet
|
||||
-
|
||||
cleanup:
|
||||
image: nexusphp_php
|
||||
container_name: nexusphp-cleanup
|
||||
environment:
|
||||
SERVICE_NAME: cleanup
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
depends_on:
|
||||
- php
|
||||
- redis
|
||||
- mysql
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1024m"
|
||||
max-file: "3"
|
||||
networks:
|
||||
- appnet
|
||||
|
||||
openresty:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user