mirror of
https://github.com/ilyakooo0/sc-build.git
synced 2024-11-23 20:39:24 +03:00
Made things actually work
This commit is contained in:
parent
ffe9aedd90
commit
497d7c4c39
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# sc-build
|
||||
|
||||
Need both manual weebohook and app.
|
||||
|
||||
Installation id needs to be configured manually.
|
||||
|
||||
For macos docker API:
|
||||
|
||||
```bash
|
||||
socat TCP-LISTEN:1234,range=127.0.0.1/32,reuseaddr,fork UNIX-CLIENT:/var/run/docker.sock
|
||||
```
|
||||
|
||||
or this (didn't work for me):
|
||||
|
||||
```bash
|
||||
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 127.0.0.1:2357:1234 bobrik/socat TCP-LISTEN:1234,fork UNIX-CONNECT:/var/run/docker.sock
|
||||
```
|
@ -63,6 +63,8 @@ executables:
|
||||
- -with-rtsopts=-N
|
||||
dependencies:
|
||||
- sc-build
|
||||
- bytestring
|
||||
- yaml
|
||||
sc-build-migrations:
|
||||
main: Main.hs
|
||||
source-dirs: migrations
|
||||
|
@ -72,7 +72,7 @@ defaultConfig =
|
||||
}
|
||||
|
||||
getConfig :: IO Config
|
||||
getConfig = decodeThrow "config.yaml"
|
||||
getConfig = decodeFileThrow "config.yaml"
|
||||
|
||||
-- getConfig :: IO Config
|
||||
-- getConfig =
|
||||
|
@ -8,3 +8,4 @@ test-task:
|
||||
COPY . src
|
||||
WORKDIR /src
|
||||
ENTRYPOINT stack test --fast
|
||||
timeoutMinutes: 10
|
||||
|
Loading…
Reference in New Issue
Block a user