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:
@@ -43,25 +43,9 @@ jobs:
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
CONTENT_REPO=https://git.send.nrw/b1tsblog/blogcontent.git
|
||||
CONTENT_REF=main
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
- name: Build and push StarCitizen
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
CONTENT_REPO=https://git.send.nrw/b1tsblog/sccontent.git
|
||||
CONTENT_REF=main
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:sc-${{ env.DOCKER_LATEST }}
|
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