Skip to content

Commit 4929016

Browse files
committed
Update DigitalOcean 1-click app
1 parent 5562334 commit 4929016

File tree

4 files changed

+82
-145
lines changed

4 files changed

+82
-145
lines changed

examples/digitalocean-1click/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This directory contains the scripts to build a snapshot for the [Gramps Web Digi
55
To build, run
66

77
```bash
8-
packer build grampsweb.json
8+
packer build grampsweb.json
99
```
1010

1111
See [https://github.com/digitalocean/marketplace-partners](https://github.com/digitalocean/marketplace-partners) for general instructions.

examples/digitalocean-1click/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ services:
1111
GRAMPSWEB_CELERY_CONFIG__broker_url: "redis://grampsweb_redis:6379/0"
1212
GRAMPSWEB_CELERY_CONFIG__result_backend: "redis://grampsweb_redis:6379/0"
1313
GRAMPSWEB_RATELIMIT_STORAGE_URI: redis://grampsweb_redis:6379/1
14+
depends_on:
15+
- grampsweb_redis
1416
volumes:
1517
- gramps_users:/app/users # persist user database
1618
- gramps_index:/app/indexdir # persist search index
@@ -28,6 +30,7 @@ services:
2830
<<: *grampsweb # YAML merge key copying the entire grampsweb service config
2931
container_name: grampsweb_celery
3032
depends_on:
33+
- grampsweb
3134
- grampsweb_redis
3235
environment:
3336
<<: *grampsweb-env # YAML merge key copying the grampsweb environment config

examples/digitalocean-1click/grampsweb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{
1212
"type": "digitalocean",
1313
"api_token": "{{user `do_token`}}",
14-
"image": "ubuntu-20-04-x64",
14+
"image": "ubuntu-22-04-x64",
1515
"region": "fra1",
1616
"size": "s-1vcpu-1gb",
1717
"ssh_username": "root",

0 commit comments

Comments
 (0)