Skip to content

Commit

Permalink
Define build por padrão
Browse files Browse the repository at this point in the history
  • Loading branch information
lpirola committed Jun 25, 2024
1 parent 1219f45 commit 64e7369
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
services:
php:
image: redemapas/mapas-api
env_file:
- api/.env
depends_on:
- database
restart: unless-stopped
Expand All @@ -28,7 +26,15 @@ services:
GOOGLE_RECAPTCHA_SITEKEY: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
GOOGLE_RECAPTCHA_SECRET: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
# SESSIONS_SAVE_PATH: tcp://sessions:6379
build:
context: ./api
target: frankenphp_dev
volumes:
- ./api:/app
# - /app/var
- var-files:/app/var
- ./api/frankenphp/Caddyfile:/etc/caddy/Caddyfile:ro
- ./api/frankenphp/conf.d/app.dev.ini:/usr/local/etc/php/conf.d/app.dev.ini:ro
- caddy_data:/data
- caddy_config:/config
- var-files:/app/var
Expand Down Expand Up @@ -127,7 +133,14 @@ services:

pwa:
image: redemapas/mapas-pwa
build:
context: ./pwa
target: dev
volumes:
- ./pwa:/srv/app
environment:
API_PLATFORM_CREATE_CLIENT_ENTRYPOINT: http://php
API_PLATFORM_CREATE_CLIENT_OUTPUT: .
NEXT_PUBLIC_ENTRYPOINT: http://php

###> doctrine/doctrine-bundle ###
Expand Down

0 comments on commit 64e7369

Please sign in to comment.