mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-deploy.git
synced 2025-05-16 04:17:06 +00:00
first commit
This commit is contained in:
commit
1b4fb6aaa9
4 changed files with 86 additions and 0 deletions
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
blogmk-puller:
|
||||
image: alpine:latest
|
||||
container_name: blogmk_puller
|
||||
environment:
|
||||
- SITE_URL=http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion
|
||||
- BRANCH=main
|
||||
- REPO_URL=http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/opsec-blog-v2
|
||||
- REFRESH_SEC=900
|
||||
volumes:
|
||||
- ./repo:/repo
|
||||
- ./servable:/servable
|
||||
- ./entry.sh:/entry.sh:ro
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
entrypoint: ["sh", "/entry.sh"]
|
||||
network_mode: "host"
|
||||
restart: unless-stopped
|
||||
|
||||
blogmk-server:
|
||||
image: nginx:alpine
|
||||
container_name: blogmk_server
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/sites-enabled/default:ro
|
||||
- ./servable:/usr/share/nginx/html:ro
|
||||
ports:
|
||||
- "127.0.0.1:7080:80"
|
||||
restart: unless-stopped
|
Loading…
Add table
Add a link
Reference in a new issue