Skip to content

Commit 16adb92

Browse files
committed
chore: update docker compose demo
1 parent 78c2a14 commit 16adb92

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ cliff.toml
99
*.md
1010
LICENSE
1111
testdata/
12-
12+
.github/

docker-compose.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
services:
22
server:
33
build: .
4+
image: ghcr.io/jjeffcaii/capybara:master
45
command:
56
- run
67
- -c
7-
- config.yaml
8+
- capybara.yaml
89
working_dir: /app
910
cap_add:
1011
- NET_ADMIN
1112
environment:
1213
RUST_LOG: 'info'
1314
volumes:
14-
- ./testdata/capybara.yaml:/app/config.yaml
15+
- ./testdata/capybara.docker.yaml:/app/capybara.yaml
16+
- ./testdata/config.yaml:/app/config.yaml
1517
ports:
16-
- 15006:15006/tcp
18+
- "15006:15006/tcp"
1719
networks:
1820
- local
1921

testdata/capybara.docker.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
loggers:
2+
main:
3+
path: ~/capybara/logs/main.log
4+
5+
providers:
6+
- kind: static_file
7+
props:
8+
path: /app/config.yaml

0 commit comments

Comments
 (0)