fix docker stuff
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m24s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m24s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM python:3.9.20-slim-bookworm
|
||||
|
||||
RUN pip install python-dotenv flask gunicorn
|
||||
RUN pip install python-dotenv flask gunicorn requests
|
||||
RUN apt-get update && apt-get install -y curl jq && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
22
compose.yml
22
compose.yml
@@ -1,12 +1,26 @@
|
||||
services:
|
||||
keepalive:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/keepalive
|
||||
cookieserver:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: .build/prod/keepalive.Dockerfile
|
||||
environment:
|
||||
- COOKIE_SERVER=http://cookieserver:5000
|
||||
depends_on:
|
||||
- cookieserver
|
||||
cookieserver:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/cookieserver
|
||||
build:
|
||||
context: .
|
||||
dockerfile: .build/prod/cookieserver.Dockerfile
|
||||
api:
|
||||
env_file: .env
|
||||
image: git.shihaam.dev/shihaam/mib-payment-verify/api
|
||||
build:
|
||||
context: .
|
||||
dockerfile: .build/prod/api.Dockerfile
|
||||
environment:
|
||||
- COOKIE_SERVER=http://cookieserver:5000
|
||||
depends_on:
|
||||
- cookieserver
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
BIN
mib-images.tar.gz
Normal file
BIN
mib-images.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user