Skip to content

Commit

Permalink
Support for Database Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
colinwilson committed Apr 28, 2018
1 parent ec699c2 commit 6c3a131
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## [0.0.3] - 28-04-2018
### Update
- Support for Database Backup

## [0.0.2] - 27-04-2018
### Initial commit
### Update
- README Update

## [0.0.1] - 27-04-2018
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ MAINTAINER Colin Wilson "[email protected]"
RUN rm -rf /usr/share/nginx/* && \
sed -i -e "s/memory_limit\s*=\s*.*/memory_limit = 256M/g" ${php_conf} && \
sed -i -e "s/session.save_handler\s*=\s*.*/session.save_handler = redis/g" ${php_conf} && \
sed -i -e "s/;session.save_path\s*=\s*.*/session.save_path = \"\${REDIS_PORT_6379_TCP}\"/g" ${php_conf}
sed -i -e "s/;session.save_path\s*=\s*.*/session.save_path = \"\${REDIS_PORT_6379_TCP}\"/g" ${php_conf} && \
wget -q -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list' && \
apt-get update && \
apt-get install -y postgresql-client-10

# Create Craft project
RUN composer create-project craftcms/craft /usr/share/nginx/
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Copyright (c) 2018 wyveo.com
Copyright (c) 2017 - 2018 wyveo.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
DB_SERVER: postgres
DB_DATABASE: craft3
DB_PASSWORD: secret
PGPASSWORD: secret
DB_SCHEMA: public
DB_PORT: '5432'
DB_USER: craft3
Expand Down

0 comments on commit 6c3a131

Please sign in to comment.