Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
Google_Maps_Scraper
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasad Gaikwad
Google_Maps_Scraper
Commits
fc5798ad
Commit
fc5798ad
authored
May 14, 2025
by
Conor Bolich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated network
parent
c8a5c1a4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
10 deletions
+14
-10
Dockerfile
Dockerfile
+2
-2
LICENSE
LICENSE
+1
-1
docker-compose.yml
docker-compose.yml
+11
-7
No files found.
Dockerfile
View file @
fc5798ad
...
...
@@ -2,8 +2,8 @@
FROM
python:3.10-slim
# Set environment variables
ENV
PYTHONDONTWRITEBYTECODE
1
ENV
PYTHONUNBUFFERED
1
ENV
PYTHONDONTWRITEBYTECODE
=
1
ENV
PYTHONUNBUFFERED
=
1
# Set work directory
WORKDIR
/app
...
...
LICENSE
View file @
fc5798ad
MIT License
Copyright (c) 2025 c
bolich
Copyright (c) 2025 c
onor-is-my-name
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
docker-compose.yml
View file @
fc5798ad
version
:
'
3.8'
services
:
scraper-api
:
build
:
.
# Build the image from the Dockerfile in the current directory
container_name
:
gmaps_scraper_api_service
# Optional: specify a container name
ports
:
-
"
8001
-8004
:8001"
# Map host port 8001 to container port 8001
-
"
8001:8001"
# Map host port 8001 to container port 8001
restart
:
unless-stopped
# Restart policy
volumes
:
-
.:/app
# Mount current directory to /app in container
working_dir
:
/app
# Set working directory to mounted volume
networks
:
-
shark
# Optional: Add environment variables if needed for configuration
# environment:
# - HEADLESS_MODE=true
cpu_shares
:
1024
# Add cpu_shares here if not using Swarm mode
# deploy:
#
replicas: 4
#
resources:
# limit
s:
# cpus: '1'
# memory: 2G
#
Create the external network first with:
#
docker network create shark
network
s
:
shark
:
external
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment