mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
More consistent names, added env var for frontend
This commit is contained in:
parent
cc1fdb6419
commit
76aac242cb
1 changed files with 7 additions and 4 deletions
|
@ -2,23 +2,26 @@
|
||||||
version: "3.1"
|
version: "3.1"
|
||||||
services:
|
services:
|
||||||
# Vue Frontend
|
# Vue Frontend
|
||||||
mealie:
|
mealie-frontend:
|
||||||
|
image: mealie-frontend:dev
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
dockerfile: frontend.Dockerfile
|
dockerfile: frontend.Dockerfile
|
||||||
container_name: mealie_frontend
|
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9920:8080
|
- 9920:8080
|
||||||
|
environment:
|
||||||
|
VUE_APP_API_BASE_URL: "http://mealie-api:9000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend:/app
|
- ./frontend/:/app
|
||||||
|
- /app/node_modules
|
||||||
|
|
||||||
# Fast API
|
# Fast API
|
||||||
mealie-api:
|
mealie-api:
|
||||||
|
image: mealie-api:dev
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile.dev
|
dockerfile: Dockerfile.dev
|
||||||
container_name: mealie-api
|
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 9921:9000
|
- 9921:9000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue