单独的docker-compose与主docker-compose同步

This commit is contained in:
2024-07-23 18:52:10 +08:00
parent 72e23e3132
commit d971dcfe1b
2 changed files with 16 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
services:
photo_mask_1:
container_name: photo_mask_1
image: fcb_photo_review
container_name: photo_mask_1
hostname: photo_mask_1
volumes:
- ./log:/app/log
restart: always
@@ -15,8 +16,9 @@ services:
driver: "nvidia"
photo_mask_2:
container_name: photo_mask_2
image: fcb_photo_review
container_name: photo_mask_2
hostname: photo_mask_2
volumes:
- ./log:/app/log
restart: always
@@ -32,8 +34,9 @@ services:
driver: "nvidia"
photo_mask_3:
container_name: photo_mask_3
image: fcb_photo_review
container_name: photo_mask_3
hostname: photo_mask_3
volumes:
- ./log:/app/log
restart: always