todo/docker-compose.yml

24 lines
382 B
YAML
Raw Normal View History

2023-07-09 02:26:34 +08:00
version: "3"
services:
todo-service:
build:
context: .
dockerfile: ./Dockerfile
image: todo-service:latest
restart: always
volumes:
- .:/app
environment:
TZ: "Asia/Shanghai"
tty: true
2023-07-09 05:26:52 +08:00
networks:
- todo-service
2023-07-10 12:54:22 +08:00
ports:
- "5010:5000"
2023-07-09 05:26:52 +08:00
networks:
todo-service:
driver: bridge
2023-07-09 02:26:34 +08:00