Compare commits
2 Commits
ba41c48615
...
d781ad3657
Author | SHA1 | Date |
---|---|---|
Daylin Morgan | d781ad3657 | |
Daylin Morgan | 906998015a |
|
@ -1,7 +0,0 @@
|
|||
git.dayl.in {
|
||||
reverse_proxy 127.0.0.1:3000
|
||||
}
|
||||
|
||||
f1.dayl.in {
|
||||
reverse_proxy 127.0.0.1:8000
|
||||
}
|
|
@ -14,30 +14,22 @@ services:
|
|||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "127.0.0.0:222:22"
|
||||
- "127.0.0.1:2222:22"
|
||||
|
||||
caddy:
|
||||
image: caddy:2.5.2-alpine
|
||||
restart: unless-stopped
|
||||
container_name: caddy
|
||||
volumes:
|
||||
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
network_mode: host
|
||||
- "2222:22"
|
||||
networks:
|
||||
- caddy
|
||||
|
||||
soft-serve:
|
||||
image: charmcli/soft-serve:v0.4.4
|
||||
restart: unless-stopped
|
||||
container_name: soft-serve
|
||||
image: charmcli/soft-serve:v0.5.2
|
||||
volumes:
|
||||
- ./soft/data:/soft-serve
|
||||
ports:
|
||||
- 23231:23231
|
||||
- 23232:23232
|
||||
- 23233:23233
|
||||
- 9418:9418
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
networks:
|
||||
caddy:
|
||||
external: true
|
||||
caddy_config:
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"logo"
|
||||
],
|
||||
"dest": [
|
||||
"config"
|
||||
".soft-serve"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,8 @@ def get_config():
|
|||
|
||||
|
||||
def get_name(config, repo):
|
||||
name = repo.name.replace(".git", "")
|
||||
dest = Path(config["paths"]["dest"]) / name
|
||||
name = repo.name.replace(".git","")
|
||||
dest = Path(config["paths"]["dest"]) / repo.name
|
||||
return name, dest
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue