mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
Added .env to docker-compose
This commit is contained in:
@@ -12,6 +12,7 @@ docker-compose up
|
||||
TODO
|
||||
## Environment variables
|
||||
- ./env
|
||||
- TODO
|
||||
- API_PORT
|
||||
- FRONT_PORT
|
||||
## Demo
|
||||
TODO
|
||||
+6
-2
@@ -1,14 +1,18 @@
|
||||
services:
|
||||
backend:
|
||||
build: .
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "${API_PORT}:8080"
|
||||
networks:
|
||||
- back-net
|
||||
frontend:
|
||||
build: web/admin-gui/.
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "8081:80"
|
||||
- "${FRONT_PORT}:80"
|
||||
networks:
|
||||
- front-net
|
||||
db:
|
||||
|
||||
Reference in New Issue
Block a user