update,
This commit is contained in:
19
jason78989/project/docker-compose.yml
Normal file
19
jason78989/project/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
test:
|
||||
build: .
|
||||
command: ./run.sh
|
||||
# command: sleep infinity
|
||||
env_file: ./.env
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./src:/src
|
||||
working_dir: /src
|
||||
#
|
||||
# - /run/docker.sock:/run/docker.sock:ro
|
||||
# restart: always
|
||||
# environment:
|
||||
# - TZ=Asia/Hong_Kong
|
||||
# deploy:
|
||||
# resources:
|
||||
# reservations:
|
||||
# cpus: '0.01'
|
Reference in New Issue
Block a user