Skip to content

Commit

Permalink
Add build to compose. Don't expose redis ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
ways committed Oct 3, 2024
1 parent f63397a commit ab01c71
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ services:
redis:
image: redis
restart: unless-stopped
ports:
- '6379:6379'
command: redis-server --save 20 1 --loglevel warning
volumes:
- cache:/data

fingr:
image: fingr:latest
build: .
command: ["--verbose", "--redis_host", "redis"]
restart: unless-stopped
ports:
# - '7979:7979'
- published: 7979
target: 7979
protocol: tcp
mode: host
- '7979:7979'
# - published: 7979
# target: 7979
# protocol: tcp
# mode: host
volumes:
- type: tmpfs
target: /tmp
Expand Down

0 comments on commit ab01c71

Please sign in to comment.