mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
👷 Docker-compose build img
This commit is contained in:
parent
9aa8b9bc3e
commit
d229c16cad
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue