Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
5d62ec1e
Commit
5d62ec1e
authored
May 07, 2016
by
benmag@users.noreply.github.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for postgres
parent
daa5ed98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
docker-compose.yml
docker-compose.yml
+15
-0
Dockerfile
postgres/Dockerfile
+9
-0
No files found.
docker-compose.yml
View file @
5d62ec1e
...
...
@@ -43,6 +43,20 @@ services:
MYSQL_PASSWORD
:
secret
MYSQL_ROOT_PASSWORD
:
root
### PostgreSQL Container ####################################
postgres
:
build
:
./postgres
container_name
:
postgres
volumes_from
:
-
data
ports
:
-
"
5432:5432"
environment
:
POSTGRES_DB
:
homestead
POSTGRES_USER
:
homestead
POSTGRES_PASSWORD
:
secret
### Redis Container #########################################
redis
:
...
...
@@ -60,6 +74,7 @@ services:
container_name
:
data
volumes
:
-
/var/lib/mysql
-
/var/lib/postgresql/data
-
/var/lib/redis
### Add more Containers below ###############################
postgres/Dockerfile
0 → 100644
View file @
5d62ec1e
FROM
postgres:latest
MAINTAINER
Ben M <git@bmagg.com>
VOLUME
/var/lib/postgresql/data
CMD
["postgres"]
EXPOSE
5432
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment