Add some scripts
This commit is contained in:
parent
989d0db926
commit
709bdda97b
|
@ -1,2 +1,3 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
docker compose -f docker-compose.prod.yml run --rm -e RAILS_ENV=production websites rake assets:precompile
|
docker compose -f docker-compose.prod.yml run --rm -e RAILS_ENV=production websites rake assets:precompile
|
||||||
|
docker compose -f docker-compose.prod.yml restart websites
|
||||||
|
|
2
bin/down
Executable file
2
bin/down
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
docker compose -f docker-compose.prod.yml down
|
2
bin/up
Executable file
2
bin/up
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
docker compose -f docker-compose.prod.yml up -d
|
2
bin/update
Executable file
2
bin/update
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
docker compose -f docker-compose.prod.yml up -d --no-deps --build
|
|
@ -90,7 +90,6 @@ services:
|
||||||
rethinkdb:
|
rethinkdb:
|
||||||
image: rethinkdb
|
image: rethinkdb
|
||||||
command: rethinkdb --bind all -n rdb
|
command: rethinkdb --bind all -n rdb
|
||||||
container_name: rethinkdb.websites4
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/rethink:/data
|
- ./data/rethink:/data
|
||||||
deploy:
|
deploy:
|
||||||
|
|
|
@ -87,7 +87,6 @@ services:
|
||||||
rethinkdb:
|
rethinkdb:
|
||||||
image: rethinkdb
|
image: rethinkdb
|
||||||
command: rethinkdb --bind all -n rdb
|
command: rethinkdb --bind all -n rdb
|
||||||
container_name: rethinkdb.websites4
|
|
||||||
volumes:
|
volumes:
|
||||||
- rethinkdb_data:/data
|
- rethinkdb_data:/data
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user