jenkins CICD
This commit is contained in:
1 parent
c5f868a8ef
commit
d710a88d04
20 files changed
+1174
-25
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Copy this file to .env and fill secrets on server.
|
||||
BACKEND_IMAGE=registry.example.com/hxops/hxops-backend:dev-placeholder
|
||||
FRONTEND_IMAGE=registry.example.com/hxops/hxops-frontend:dev-placeholder
|
||||
|
||||
# DATABASE_URL=postgresql://postgres:change_me@127.0.0.1:5432/hxops_db
|
||||
FLASK_APP=run.py
|
||||
FLASK_ENV=development
|
||||
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
hxops-backend:
|
||||
image: ${BACKEND_IMAGE}
|
||||
container_name: hxops-backend
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "5002:5000"
|
||||
networks:
|
||||
- ai-platform
|
||||
|
||||
hxops-frontend:
|
||||
image: ${FRONTEND_IMAGE}
|
||||
container_name: hxops-frontend
|
||||
restart: always
|
||||
depends_on:
|
||||
- hxops-backend
|
||||
ports:
|
||||
- "8890:80"
|
||||
networks:
|
||||
- ai-platform
|
||||
|
||||
networks:
|
||||
ai-platform:
|
||||
name: ai-platform
|
||||
driver: bridge
|
||||
Reference in new issue
Block a user