initial: bootstrap from BukidBountyApp base
This commit is contained in:
39
docker-compose-local.yml
Normal file
39
docker-compose-local.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
services:
|
||||
bukidapp:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.php
|
||||
expose:
|
||||
- "9501"
|
||||
volumes:
|
||||
- .:/var/app
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "curl -f http://localhost:9501/health || exit 1" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
networks:
|
||||
dokploy-network:
|
||||
app-internal:
|
||||
aliases:
|
||||
- swoole-upstream
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "${APP_PORT:-9522}:80"
|
||||
volumes:
|
||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./public:/var/app/public
|
||||
networks:
|
||||
- dokploy-network
|
||||
- app-internal
|
||||
depends_on:
|
||||
- bukidapp
|
||||
|
||||
networks:
|
||||
dokploy-network:
|
||||
external: true
|
||||
app-internal:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user