fix(docker-usage): init

This commit is contained in:
realies
2025-03-03 04:56:44 +00:00
parent 89b5229ce9
commit b3b8a05bd2
11 changed files with 167 additions and 87 deletions

View File

@@ -35,8 +35,8 @@ services:
context: .
dockerfile: app.dockerfile
args:
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
- NEXT_PUBLIC_API_URL=/api
- NEXT_PUBLIC_WS_URL=auto
image: itzcrazykns1337/perplexica-frontend:main
depends_on:
- perplexica-backend
@@ -46,6 +46,19 @@ services:
- perplexica-network
restart: unless-stopped
nginx:
image: nginx:alpine
ports:
- "8080:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- perplexica-frontend
- perplexica-backend
networks:
- perplexica-network
restart: unless-stopped
networks:
perplexica-network: