Skip to content

Commit a84dc63

Browse files
committed
update
1 parent 3b8801c commit a84dc63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devops/capistrano/config/deploy.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
task :rebuild_deps do
5656
on roles(:app) do
5757
# Your restart mechanism here, for example:
58-
execute '(cd /home/ubuntu/tagbase-server/current; sudo docker-compose build --build-arg POSTGRES_PASSWORD="${POSTGRES_PASSWORD}" --build-arg POSTGRES_PORT="${POSTGRES_PORT}" --build-arg NGINX_USER="${NGINX_USER}" --build-arg NGINX_PASS="${NGINX_PASS}")'
58+
execute '(cd /home/ubuntu/tagbase-server/current; sudo docker-compose build)'
59+
#execute '(cd /home/ubuntu/tagbase-server/current; sudo docker-compose build --build-arg POSTGRES_PASSWORD="${POSTGRES_PASSWORD}" --build-arg POSTGRES_PORT="${POSTGRES_PORT}" --build-arg NGINX_USER="${NGINX_USER}" --build-arg NGINX_PASS="${NGINX_PASS}")'
5960

6061
#execute (cd /home/ubuntu/tagbase-server; docker-compose down; docker-compose up -d)
6162
end

0 commit comments

Comments
 (0)