first commit
This commit is contained in:
34
docker-compose.local.yml
Normal file
34
docker-compose.local.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
screenshot-service:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: screenshot_service_local
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5955:5955"
|
||||
environment:
|
||||
- PORT=5955
|
||||
- HOST=0.0.0.0
|
||||
- USE_SSL=false
|
||||
- OUTPUT_DIR=/var/www/html/images/
|
||||
- BASE_URL=http://localhost:5955/
|
||||
- VIEWPORT_WIDTH=1366
|
||||
- VIEWPORT_HEIGHT=1100
|
||||
- WAIT_TIME=10000
|
||||
volumes:
|
||||
- ./:/app
|
||||
- screenshot_images:/var/www/html/images
|
||||
- /app/node_modules
|
||||
networks:
|
||||
- screenshot-local
|
||||
|
||||
volumes:
|
||||
screenshot_images:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
screenshot-local:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user