aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-11-15 19:41:02 +0000
committerMatthew Lemon <y@yulqen.org>2024-11-15 19:41:02 +0000
commit32f052a0ce5d28f866f79c7b02ed013fdf19c77d (patch)
treeadf539bfd30222f361ea71821b2c6697d28b06fc
parent2022831d4960054aef904e27fd2934beb4e3c65e (diff)
Updates kamal bits
-rw-r--r--Dockerfile3
-rw-r--r--config/deploy.yml12
2 files changed, 6 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index d94bea5..6955fed 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -77,6 +77,3 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"]
EXPOSE 80
CMD ["./bin/thrust", "./bin/rails", "server"]
-# Configure ImageMagick to allow PDF processing
-RUN sed -i '/disable ghostscript format types/,+6d' /etc/ImageMagick-6/policy.xml && \
- sed -i 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-6/policy.xml
diff --git a/config/deploy.yml b/config/deploy.yml
index b9384e1..5388b90 100644
--- a/config/deploy.yml
+++ b/config/deploy.yml
@@ -2,12 +2,12 @@
service: alphabetlearning
# Name of the container image.
-image: your-user/alphabetlearning
+image: haircode/alphabetlearning
# Deploy to these servers.
servers:
web:
- - 192.168.0.1
+ - 192.168.1.133
# job:
# hosts:
# - 192.168.0.1
@@ -17,15 +17,15 @@ servers:
# Remove this section when using multiple web servers and ensure you terminate SSL at your load balancer.
#
# Note: If using Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
-proxy:
- ssl: true
- host: app.example.com
+#proxy:
+# ssl: true
+# host: app.example.com
# Credentials for your image host.
registry:
# Specify the registry server, if you're not using Docker Hub
# server: registry.digitalocean.com / ghcr.io / ...
- username: your-user
+ username: haircode
# Always use an access token rather than real password when possible.
password: