todo/docker-compose.yml
BryantHe 6fa57028dd
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
fix drone config 5
2023-07-09 05:26:52 +08:00

24 lines
409 B
YAML

version: "3"
services:
todo-service:
build:
context: .
dockerfile: ./Dockerfile
image: todo-service:latest
restart: always
volumes:
- .:/app
environment:
TZ: "Asia/Shanghai"
tty: true
working_dir: /app
command: ["python3", "test.py"]
networks:
- todo-service
networks:
todo-service:
driver: bridge