Skip to content

Commit 6c3a131

Browse files
committed
Support for Database Backup
1 parent ec699c2 commit 6c3a131

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
## [0.0.3] - 28-04-2018
2+
### Update
3+
- Support for Database Backup
4+
15
## [0.0.2] - 27-04-2018
2-
### Initial commit
6+
### Update
37
- README Update
48

59
## [0.0.1] - 27-04-2018

Dockerfile

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

1115
# Create Craft project
1216
RUN composer create-project craftcms/craft /usr/share/nginx/

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Copyright (c) 2018 wyveo.com
2+
Copyright (c) 2017 - 2018 wyveo.com
33

44
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:
55

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ services:
2222
DB_SERVER: postgres
2323
DB_DATABASE: craft3
2424
DB_PASSWORD: secret
25+
PGPASSWORD: secret
2526
DB_SCHEMA: public
2627
DB_PORT: '5432'
2728
DB_USER: craft3

0 commit comments

Comments
 (0)