添加 docker-compose.yml
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
services:
|
||||||
|
chrome-monitor:
|
||||||
|
build: .
|
||||||
|
container_name: chrome-monitor
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "$8080:${PORT:-8080}
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
# environment:
|
||||||
|
# - AUTH_TOKEN=my-secret-token
|
||||||
|
# - AUTH_ENABLED=true
|
||||||
|
# - PORT=8080
|
||||||
|
# - KEEP_VERSIONS=3
|
||||||
|
# - CHROME_URL=https://www.google.cn/chrome?standalone=1&platform=win64
|
||||||
|
volumes:
|
||||||
|
- ./chrome_versions:/app/chrome_versions
|
||||||
|
networks:
|
||||||
|
- proxy-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user