Added .env access to frontend (+ while dockerized)
This commit is contained in:
1 parent
4d4116ae98
commit
2047b3f7a4
8 files changed
+37
-23
No files matched your search
+6
-2
@@ -1,6 +1,8 @@
|
||||
services:
|
||||
backend:
|
||||
build: .
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile.backend
|
||||
image: gohcms-backend
|
||||
env_file:
|
||||
- .env
|
||||
@@ -9,7 +11,9 @@ services:
|
||||
networks:
|
||||
- back-net
|
||||
frontend:
|
||||
build: web/admin-gui/.
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile.frontend
|
||||
image: gohcms-frontend
|
||||
env_file:
|
||||
- .env
|
||||
|
||||
Reference in new issue
Block a user