fix cp path dev-ssu
This commit is contained in:
parent
576486a869
commit
c2f6689c9a
@ -2,7 +2,7 @@ services:
|
|||||||
coolify:
|
coolify:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: /home/lasthour/lasthourcloud/docker/dev-ssu/Dockerfile
|
dockerfile: /data/coolify/source/docker/dev-ssu/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8000}:80"
|
- "${APP_PORT:-8000}:80"
|
||||||
environment:
|
environment:
|
||||||
|
@ -226,7 +226,7 @@ cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-c
|
|||||||
cp /home/lasthour/lasthourcloud/docker-compose.dev.yml /data/coolify/source/docker-compose.dev.yml
|
cp /home/lasthour/lasthourcloud/docker-compose.dev.yml /data/coolify/source/docker-compose.dev.yml
|
||||||
cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production
|
cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production
|
||||||
cp /home/lasthour/lasthourcloud/scripts/dev_upgrade.sh /data/coolify/source/dev_upgrade.sh
|
cp /home/lasthour/lasthourcloud/scripts/dev_upgrade.sh /data/coolify/source/dev_upgrade.sh
|
||||||
cp -R /home/lasthour/lasthourcloud/docker/dev-ssu /data/coolify/source/docker/dev-ssu
|
cp -R /home/lasthour/lasthourcloud/docker/dev-ssu /data/coolify/source/docker/
|
||||||
|
|
||||||
|
|
||||||
chown -R 9999:root /data/coolify
|
chown -R 9999:root /data/coolify
|
||||||
|
@ -12,6 +12,7 @@ echo "Copying required files from Last Hour Cloud git repo..."
|
|||||||
cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
cp /home/lasthour/lasthourcloud/docker-compose.yml /data/coolify/source/docker-compose.yml
|
||||||
cp /home/lasthour/lasthourcloud/docker-compose.dev.yml /data/coolify/source/docker-compose.dev.yml
|
cp /home/lasthour/lasthourcloud/docker-compose.dev.yml /data/coolify/source/docker-compose.dev.yml
|
||||||
cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production
|
cp /home/lasthour/lasthourcloud/.env.production /data/coolify/source/.env.production
|
||||||
|
cp -R /home/lasthour/lasthourcloud/docker/dev-ssu /data/coolify/source/docker/
|
||||||
|
|
||||||
# Merge .env and .env.production. New values will be added to .env
|
# Merge .env and .env.production. New values will be added to .env
|
||||||
sort -u -t '=' -k 1,1 /data/coolify/source/.env /data/coolify/source/.env.production | sed '/^$/d' >/data/coolify/source/.env.temp && mv /data/coolify/source/.env.temp /data/coolify/source/.env
|
sort -u -t '=' -k 1,1 /data/coolify/source/.env /data/coolify/source/.env.production | sed '/^$/d' >/data/coolify/source/.env.temp && mv /data/coolify/source/.env.temp /data/coolify/source/.env
|
||||||
|
Loading…
Reference in New Issue
Block a user