This commit is contained in:
@ -18,8 +18,5 @@ jobs:
|
|||||||
- name: Stop containers
|
- name: Stop containers
|
||||||
run: docker compose down
|
run: docker compose down
|
||||||
|
|
||||||
- name: Build containers
|
|
||||||
run: docker compose build --no-cache
|
|
||||||
|
|
||||||
- name: Deploy containers
|
- name: Deploy containers
|
||||||
run: docker compose up -d
|
run: docker compose up -d
|
||||||
|
@ -2,9 +2,7 @@ name: dd-multitool
|
|||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build:
|
image: shiro2:latest
|
||||||
context: ./api
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
networks:
|
networks:
|
||||||
- dundef-tool
|
- dundef-tool
|
||||||
environment:
|
environment:
|
||||||
@ -26,9 +24,7 @@ services:
|
|||||||
- TOKEN=${TOKEN}
|
- TOKEN=${TOKEN}
|
||||||
- PREFIX=${PREFIX}
|
- PREFIX=${PREFIX}
|
||||||
- SHARED_ENDPOINT=http://api:2000/
|
- SHARED_ENDPOINT=http://api:2000/
|
||||||
build:
|
image: shiro:latest
|
||||||
context: ./bot
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
networks:
|
networks:
|
||||||
- dundef-tool
|
- dundef-tool
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Reference in New Issue
Block a user