mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
removed temp files
This commit is contained in:
1 parent
f7aef85e7f
commit
3f4f65f39c
329 files changed
+60
-37721
No files matched your search
+12
-38
@@ -6,10 +6,9 @@ services:
|
||||
container_name: holy-backend
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- narl
|
||||
- internal
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- holy-net
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
@@ -17,18 +16,7 @@ services:
|
||||
- ./legacy:/app/legacy
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
- DOMAIN=${DOMAIN:-holy.narl.io}
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=narl"
|
||||
- "traefik.http.routers.holy-energy-backend.priority=100"
|
||||
- "traefik.http.routers.holy-energy-backend.rule=Host(`${DOMAIN:-holy.narl.io}`) && (PathPrefix(`/api`) || PathPrefix(`/admin/`) || PathPrefix(`/static`) || PathPrefix(`/media`))"
|
||||
- "traefik.http.routers.holy-energy-backend.entrypoints=websecure"
|
||||
- "traefik.http.routers.holy-energy-backend.tls.certresolver=https_resolver"
|
||||
- "traefik.http.services.holy-energy-backend.loadbalancer.server.port=8000"
|
||||
- DOMAIN=${DOMAIN:-localhost}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health/"]
|
||||
interval: 10s
|
||||
@@ -43,15 +31,11 @@ services:
|
||||
command: python manage.py worker
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- narl
|
||||
- internal
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 1.1.1.1
|
||||
- holy-net
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- DOMAIN=${DOMAIN:-holy.narl.io}
|
||||
- DOMAIN=${DOMAIN:-localhost}
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- ./legacy:/app/legacy
|
||||
@@ -63,7 +47,7 @@ services:
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
- VITE_API_URL=https://${DOMAIN:-holy.narl.io}/api/
|
||||
- VITE_API_URL=http://${DOMAIN:-localhost}/api/
|
||||
- VITE_IMPRESSUM_NAME=${VITE_IMPRESSUM_NAME}
|
||||
- VITE_IMPRESSUM_STREET=${VITE_IMPRESSUM_STREET}
|
||||
- VITE_IMPRESSUM_CITY=${VITE_IMPRESSUM_CITY}
|
||||
@@ -71,29 +55,19 @@ services:
|
||||
- VITE_IMPRESSUM_PHONE=${VITE_IMPRESSUM_PHONE}
|
||||
container_name: holy-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
networks:
|
||||
- narl
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- holy-net
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=narl"
|
||||
- "traefik.http.routers.holy-energy-frontend.priority=10"
|
||||
- "traefik.http.routers.holy-energy-frontend.rule=Host(`${DOMAIN:-holy.narl.io}`)"
|
||||
- "traefik.http.routers.holy-energy-frontend.entrypoints=websecure"
|
||||
- "traefik.http.routers.holy-energy-frontend.tls.certresolver=https_resolver"
|
||||
- "traefik.http.services.holy-energy-frontend.loadbalancer.server.port=80"
|
||||
|
||||
networks:
|
||||
narl:
|
||||
external: true
|
||||
internal:
|
||||
internal: true
|
||||
holy-net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in new issue
Block a user