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:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
build-args: |
|
|
||||||
CONTENT_REPO=https://git.send.nrw/b1tsblog/blogcontent.git
|
|
||||||
CONTENT_REF=main
|
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: | # replace it with your local IP and tags
|
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 }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
${{ 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:
|
api:
|
||||||
build: .
|
build: .
|
||||||
container_name: ipblock-api
|
container_name: ipblock-api
|
||||||
|
networks:
|
||||||
|
- flod_nw
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@@ -21,10 +23,26 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
container_name: ipblock-redis
|
container_name: ipblock-redis
|
||||||
|
networks:
|
||||||
|
- flod_nw
|
||||||
command: ["redis-server", "--save", "", "--appendonly", "no"] # reine In-Memory-Instanz
|
command: ["redis-server", "--save", "", "--appendonly", "no"] # reine In-Memory-Instanz
|
||||||
#volumes:
|
#volumes:
|
||||||
#- redis-data:/data # falls du doch Persistence willst
|
#- redis-data:/data # falls du doch Persistence willst
|
||||||
restart: unless-stopped
|
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:
|
#volumes:
|
||||||
#redis-data:
|
#redis-data:
|
||||||
|
Reference in New Issue
Block a user