fix cp path dev-ssu

This commit is contained in:
Gary 2024-03-07 15:59:40 -08:00
parent 576486a869
commit c2f6689c9a
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ services:
coolify:
build:
context: .
dockerfile: /home/lasthour/lasthourcloud/docker/dev-ssu/Dockerfile
dockerfile: /data/coolify/source/docker/dev-ssu/Dockerfile
ports:
- "${APP_PORT:-8000}:80"
environment:

View File

@ -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/.env.production /data/coolify/source/.env.production
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

View File

@ -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.dev.yml /data/coolify/source/docker-compose.dev.yml
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
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