添加docker文件
This commit is contained in:
parent
848f4bee03
commit
52ef55de45
|
@ -15,8 +15,8 @@ deploy_job:
|
|||
stage: deploy
|
||||
script:
|
||||
- docker-compose up -d --force-recreate
|
||||
when:
|
||||
manual
|
||||
# when:
|
||||
# manual
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@ services:
|
|||
- app
|
||||
command:
|
||||
bash -c "cd /home/daily && python3 main.py"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
networks:
|
||||
app:
|
||||
external: true
|
Loading…
Reference in New Issue