Update build and prod compose
This commit is contained in:
parent
1d3d8f5a35
commit
e6ba387dc1
2 changed files with 13 additions and 9 deletions
|
@ -1,13 +1,14 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pianello-web-app:
|
frontend:
|
||||||
image: git.webdeploy.it/pianello/pianello-web-app
|
image: git.webdeploy.it/pianello/frontend
|
||||||
restart: always
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
version_tag:
|
version_tag:
|
||||||
extends: pianello-web-app
|
extends: frontend
|
||||||
image: git.webdeploy.it/pianello/pianello-web-app:${TAG}
|
image: git.webdeploy.it/pianello/frontend:${TAG}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
version: '3'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web-app:
|
frontend:
|
||||||
image: git.webdeploy.it/pianello/pianello-web-app:latest
|
image: git.webdeploy.it/pianello/frontend:latest
|
||||||
restart: always
|
restart: always
|
||||||
container_name: pianello-web-app
|
environment:
|
||||||
|
ORIGIN: "${ORIGIN}"
|
||||||
|
PORT: 8000
|
||||||
|
BODY_SIZE_LIMIT: 0
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8000:8000
|
Loading…
Reference in a new issue