FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
snapcode/docker-compose.yml at main · sandikodev/snapcode · GitHub
sandikodev
/
snapcode
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
snapcode
/
docker-compose.yml
Copy path
More file actions
More file actions
Latest commit
History
History
History
42 lines (39 loc) · 943 Bytes
Breadcrumbs
snapcode
/
docker-compose.yml
Copy path
File metadata and controls
42 lines (39 loc) · 943 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version
:
'
3.8
'
services
:
snapcode
:
build
:
.
container_name
:
snapcode
ports
:
-
"
8000:8000
"
restart
:
unless-stopped
environment
:
-
PORT=8000
volumes
:
-
./content:/app/content:ro
-
./docs:/app/docs:ro
healthcheck
:
test
:
["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000')"]
interval
:
30s
timeout
:
3s
retries
:
3
start_period
:
5s
labels
:
-
"
com.snapcode.description=SnapCode Markdown Beautifier
"
-
"
com.snapcode.version=1.0
"
#
Optional: Nginx reverse proxy
nginx
:
image
:
nginx:alpine
container_name
:
snapcode-nginx
ports
:
-
"
80:80
"
-
"
443:443
"
volumes
:
-
./deployment/docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on
:
-
snapcode
restart
:
unless-stopped
profiles
:
-
with-nginx
networks
:
default
:
name
:
snapcode-network
Back
|
FazBrowse Home
|
New Git URL