mirror of
https://github.com/penpot/penpot.git
synced 2025-03-28 15:41:25 -05:00
✨ Minor improvements on devenv.
This commit is contained in:
parent
57365a6664
commit
73753ce071
3 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@
|
|||
org.slf4j/slf4j-simple {:mvn/version "1.7.26"}
|
||||
com.layerware/hugsql-core {:mvn/version "0.4.9"
|
||||
:exclusions [org.clojure/tools.reader]}
|
||||
;; niwinz/migrante {:mvn/version "0.1.0"}
|
||||
niwinz/migrante {:mvn/version "0.1.0"}
|
||||
buddy/buddy-sign {:mvn/version "3.1.0"}
|
||||
buddy/buddy-hashers {:mvn/version "1.4.0"}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ volumes:
|
|||
user_data:
|
||||
|
||||
services:
|
||||
uxbox:
|
||||
devenv:
|
||||
privileged: true
|
||||
build:
|
||||
context: ./
|
||||
|
@ -39,7 +39,7 @@ services:
|
|||
- UXBOX_DATABASE_PASSWORD="uxbox"
|
||||
|
||||
postgres:
|
||||
image: postgres:12-beta4
|
||||
image: postgres:12
|
||||
hostname: 'uxbox-devenv-postgres'
|
||||
container_name: 'uxbox-devenv-postgres'
|
||||
restart: always
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
REV=`git log -n 1 --pretty=format:%h -- docker/`
|
||||
IMGNAME="devenv_uxbox"
|
||||
IMGNAME="uxbox_devenv"
|
||||
|
||||
function remove-devenv-images {
|
||||
echo "Clean old development image $IMGNAME..."
|
||||
|
@ -13,7 +13,7 @@ function build-devenv {
|
|||
echo "Building development image $IMGNAME:latest with UID $EXTERNAL_UID..."
|
||||
|
||||
local EXTERNAL_UID=${1:-$(id -u)}
|
||||
docker-compose -f docker/devenv/docker-compose.yaml \
|
||||
docker-compose -p uxbox -f docker/devenv/docker-compose.yaml \
|
||||
build --build-arg EXTERNAL_UID=$EXTERNAL_UID --force-rm;
|
||||
}
|
||||
|
||||
|
@ -25,11 +25,11 @@ function build-devenv-if-not-exists {
|
|||
|
||||
function start-devenv {
|
||||
build-devenv-if-not-exists $@;
|
||||
docker-compose -f docker/devenv/docker-compose.yaml up -d;
|
||||
docker-compose -p uxbox -f docker/devenv/docker-compose.yaml up -d;
|
||||
}
|
||||
|
||||
function stop-devenv {
|
||||
docker-compose -f docker/devenv/docker-compose.yaml stop -t 2;
|
||||
docker-compose -p uxbox -f docker/devenv/docker-compose.yaml stop -t 2;
|
||||
}
|
||||
|
||||
function run-devenv {
|
||||
|
|
Loading…
Add table
Reference in a new issue