fixes network, added newt, fixed Dockerfile and Workflow
All checks were successful
release-tag / release-image (push) Successful in 1m31s
All checks were successful
release-tag / release-image (push) Successful in 1m31s
This commit is contained in:
18
compose.yml
18
compose.yml
@@ -5,6 +5,8 @@ services:
|
||||
api:
|
||||
build: .
|
||||
container_name: ipblock-api
|
||||
networks:
|
||||
- flod_nw
|
||||
depends_on:
|
||||
- redis
|
||||
environment:
|
||||
@@ -21,10 +23,26 @@ services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: ipblock-redis
|
||||
networks:
|
||||
- flod_nw
|
||||
command: ["redis-server", "--save", "", "--appendonly", "no"] # reine In-Memory-Instanz
|
||||
#volumes:
|
||||
#- redis-data:/data # falls du doch Persistence willst
|
||||
restart: unless-stopped
|
||||
|
||||
newt:
|
||||
image: fosrl/newt
|
||||
container_name: newt
|
||||
networks:
|
||||
- flod_nw
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PANGOLIN_ENDPOINT=
|
||||
- NEWT_ID=
|
||||
- NEWT_SECRET=
|
||||
|
||||
networks:
|
||||
flod_nw
|
||||
|
||||
#volumes:
|
||||
#redis-data:
|
||||
|
Reference in New Issue
Block a user