use image in docker-compose.yml

This commit is contained in:
shibao 2022-07-30 03:39:47 -04:00
parent 659bb1dfb8
commit 5872ce6da8
1 changed files with 3 additions and 6 deletions

View File

@ -2,8 +2,7 @@ version: "3"
services:
forget:
build:
context: ./
image: shibaobun/forget
container_name: forget
restart: always
environment:
@ -23,8 +22,7 @@ services:
- 42157
forget-worker:
build:
context: ./
image: shibaobun/forget
container_name: forget-worker
restart: always
environment:
@ -48,8 +46,7 @@ services:
"
forget-beat:
build:
context: ./
image: shibaobun/forget
container_name: forget-beat
restart: always
environment: