Skip to content

Commit

Permalink
Merge pull request #4 from Start9Labs/bugfix/volumes
Browse files Browse the repository at this point in the history
set `/var/lib/postgresql` as the only volume
  • Loading branch information
benthecarman authored Nov 14, 2023
2 parents 3ae25b9 + 67577b7 commit 853c469
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ main:
# Specifies where to mount the data volume(s), if there are any. Mounts for pointer dependency volumes are also denoted here. These are necessary if data needs to be read from / written to these volumes.
mounts:
# Specifies where on the service's file system its persistence directory should be mounted prior to service startup
main: /root
postgres: "/var/lib/postgresql"
# This is where health checks would be defined - see a more advanced example in https://github.com/Start9Labs/start-pages-wrapper
health-checks:
main:
Expand All @@ -76,7 +76,7 @@ health-checks:
type: docker
image: main
entrypoint: check-web.sh
args: [ ]
args: []
io-format: json
inject: true
config: ~
Expand All @@ -85,7 +85,7 @@ properties: ~
# This denotes any data, asset, or pointer volumes that should be connected when the "docker run" command is invoked
volumes:
# This is the image where files from the project asset directory will go
main:
postgres:
type: data
# This specifies how to configure the port mapping for exposing the service over TOR and LAN (if applicable). Many interfaces can be specified depending on the needs of the service. If it can be launched over a Local Area Network connection, specify a `lan-config`. Otherwise, at minimum, a `tor-config` must be specified.
interfaces:
Expand Down Expand Up @@ -132,7 +132,7 @@ backup:
# BACKUP is the default volume that is used for backups. This is whatever backup drive is mounted to the device, or a network filesystem.
# The value here donates where the mount point will be. The backup drive is mounted to this location.
BACKUP: "/mnt/backup"
main: "/var/lib/postgresql"
postgres: "/var/lib/postgresql"
# The action to execute the backup restore functionality. Details for the keys below are the same as above.
restore:
type: docker
Expand All @@ -146,7 +146,7 @@ backup:
- /var/lib/postgresql
mounts:
BACKUP: "/mnt/backup"
main: "/var/lib/postgresql"
postgres: "/var/lib/postgresql"
migrations:
from:
"*":
Expand Down

0 comments on commit 853c469

Please sign in to comment.