File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
# Geodata
2
2
3
- Geodata web portal developed from Geoblacklight 4.1.0
3
+ Geodata web portal developed from Geoblacklight 4.4.2
4
4
[ Geodata@UCB] ( https://geodata.lib.berkeley.edu/ )
5
5
6
6
## Docker
7
7
8
8
9
9
``` sh
10
10
# Build container images
11
- docker-compose build --pull --force-rm
11
+ docker compose build --pull
12
+ or
13
+ docker compose build --pull --no-cache
12
14
13
15
# Start the stack in the background
14
- docker- compose up --d
16
+ docker compose up --d
15
17
16
18
# Run setup tasks (create databases, compile assets, etc.)
17
- docker- compose run --rm --entrypoint=setup app
19
+ docker compose run --rm --entrypoint=setup app
18
20
```
19
21
20
22
### Accessing Services
@@ -42,26 +44,26 @@ If you're curious, the code that does this is in `config/application.rb`.
42
44
View logs:
43
45
44
46
``` sh
45
- docker- compose logs -f # tail all logs
46
- docker- compose logs -f app # tail just the "app" service's logs (etc.)
47
+ docker compose logs -f # tail all logs
48
+ docker compose logs -f app # tail just the "app" service's logs (etc.)
47
49
```
48
50
49
51
Shell into a container:
50
52
51
53
``` sh
52
- docker- compose run --rm --entrypoint=ash app
54
+ docker compose exec app bash
53
55
```
54
56
55
57
Open a Rails console:
56
58
57
59
``` sh
58
- docker- compose run --rm app console
60
+ docker compose exec app rails console
59
61
```
60
62
61
63
Stop services and clean up volumes:
62
64
63
65
``` sh
64
- docker- compose down -v
66
+ docker compose down -v
65
67
```
66
68
67
69
You can’t perform that action at this time.
0 commit comments