👷 Docker-compose build img

This commit is contained in:
mathieu.brunot 2019-05-17 03:30:51 +02:00
parent 9aa8b9bc3e
commit d229c16cad
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 7 additions and 6 deletions

View file

@ -22,14 +22,15 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
uxbackend: uxbackend:
#build: ./backend build: ./backend
image: monogramm/uxbox:backend #image: monogramm/uxbox:backend
#image: uxbox-backend:beta
container_name: uxbackend container_name: uxbackend
#restart: always #restart: always
depends_on: depends_on:
- uxdb - uxdb
ports: ports:
- "6060:6060" - 6060:6060
environment: environment:
# HTTP setup # HTTP setup
- UXBOX_HTTP_SERVER_DEBUG=false - UXBOX_HTTP_SERVER_DEBUG=false
@ -64,8 +65,9 @@ services:
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
uxfrontend: uxfrontend:
#build: ./frontend build: ./frontend
image: monogramm/uxbox:frontend #image: monogramm/uxbox:frontend
#image: uxbox-frontend:beta
container_name: uxfrontend container_name: uxfrontend
#hostname: uxbox.io #hostname: uxbox.io
#restart: always #restart: always

View file

@ -37,7 +37,6 @@ function run_image {
rm -rf ./frontend/node_modules rm -rf ./frontend/node_modules
CONTAINER=$IMGNAME:$REV CONTAINER=$IMGNAME:$REV
#CONTAINER=monogramm/uxbox:develop
echo "Running development image $CONTAINER..." echo "Running development image $CONTAINER..."
sudo docker run -ti \ sudo docker run -ti \