32 lines
849 B
YAML
32 lines
849 B
YAML
services:
|
|
laravel-stack:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: laravel-stack
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3453:80"
|
|
volumes:
|
|
- /srv/projects/laravel/projects:/home/deploy/projects
|
|
- /srv/projects/laravel/nginx-dynamic:/etc/nginx/sites-dynamic
|
|
- /srv/projects/laravel/composer-cache:/tmp/composer-cache
|
|
- /srv/projects/laravel/npm-cache:/root/.npm
|
|
environment:
|
|
- PROJECTS_DIR=/home/deploy/projects
|
|
- DOMAIN=laravel.juancjc.com.br
|
|
- PUBLIC_BASE_URL=https://laravel.juancjc.com.br
|
|
- AUTO_DEPLOY_ON_START=false
|
|
- PHP_MEMORY_LIMIT=512M
|
|
labels:
|
|
- "com.laravelstack.managed=true"
|
|
networks:
|
|
- proxy-net
|
|
- postgres-18_default
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true
|
|
postgres-18_default:
|
|
external: true
|