Skip to content

Commit

Permalink
fix: completely misspelled storage location
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed May 10, 2024
1 parent 998a47c commit 2c7f807
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 9 deletions.
10 changes: 7 additions & 3 deletions deploy/compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: parceler-prod
services:
nginx:
image: ghcr.io/nethesis/parceler-nginx:latest
image: ghcr.io/nethesis/parceler-nginx:main
ports:
- "8080:80"
volumes:
Expand All @@ -10,9 +10,9 @@ services:
FPM_HOST: php
FPM_PORT: 9000
php:
image: ghcr.io/nethesis/parceler-php:latest
image: ghcr.io/nethesis/parceler-php:main
volumes:
- storage:/var/www/html
- storage:/var/www/html/storage
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
Expand All @@ -35,3 +35,7 @@ services:

volumes:
storage: { }

configs:
rclone:
file: ./rclone.conf
2 changes: 1 addition & 1 deletion deploy/systemd/v4/container-php.service
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ExecStart=/usr/bin/podman run \
--rm \
--pod-id-file %t/pod-parceler.pod-id \
--sdnotify=conmon \
--volume storage:/var/www/html \
--volume storage:/var/www/html/storage \
--volume /etc/localtime:/etc/localtime:ro \
--volume %S/rclone.conf:/var/www/html/rclone.conf:ro \
--env-file %S/parceler.env \
Expand Down
2 changes: 1 addition & 1 deletion deploy/systemd/v4/container-scheduler.service
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ExecStart=/usr/bin/podman run \
--rm \
--pod-id-file %t/pod-parceler.pod-id \
--sdnotify=conmon \
--volume storage:/var/www/html \
--volume storage:/var/www/html/storage \
--volume /etc/localtime:/etc/localtime:ro \
--volume %S/rclone.conf:/var/www/html/rclone.conf:ro \
--env-file %S/parceler.env \
Expand Down
2 changes: 1 addition & 1 deletion deploy/systemd/v4/container-worker.service
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ExecStart=/usr/bin/podman run \
--rm \
--pod-id-file %t/pod-parceler.pod-id \
--sdnotify=conmon \
--volume storage:/var/www/html \
--volume storage:/var/www/html/storage \
--volume /etc/localtime:/etc/localtime:ro \
--volume %S/rclone.conf:/var/www/html/rclone.conf:ro \
--env-file %S/parceler.env \
Expand Down
2 changes: 1 addition & 1 deletion deploy/systemd/v5/php.container
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Pod=parceler.pod
Image=ghcr.io/nethesis/parceler-php:latest
ContainerName=parceler-php
Volume=/etc/localtime:/etc/localtime:ro
Volume=storage.volume:/var/www/html
Volume=storage.volume:/var/www/html/storage
EnvironmentFile=%S/parceler.env
2 changes: 1 addition & 1 deletion deploy/systemd/v5/scheduler.container
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod=parceler.pod
Image=ghcr.io/nethesis/parceler-php:latest
ContainerName=parceler-scheduler
Volume=/etc/localtime:/etc/localtime:ro
Volume=storage.volume:/var/www/html
Volume=storage.volume:/var/www/html/storage
Exec=scheduler
EnvironmentFile=%S/parceler.env
Environment=PHP_HOST=parceler-php
Expand Down
2 changes: 1 addition & 1 deletion deploy/systemd/v5/worker.container
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod=parceler.pod
Image=ghcr.io/nethesis/parceler-php:latest
ContainerName=parceler-worker
Volume=/etc/localtime:/etc/localtime:ro
Volume=storage.volume:/var/www/html
Volume=storage.volume:/var/www/html/storage
Exec=worker
EnvironmentFile=%S/parceler.env
Environment=PHP_HOST=parceler-php
Expand Down

0 comments on commit 2c7f807

Please sign in to comment.