You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `DEVSTACK_USER=dfx` (attached user in container) [you can leave it]
41
+
- `DEVSTACK_COMPOSE` (optional compose command override; defaults to `docker compose` with `docker-compose` fallback)
42
+
43
+
The compose file mounts your SSH agent into containers, so `SSH_AUTH_SOCK` should point to a running SSH agent socket. If you do not use agent forwarding, the `devstack` script uses `/tmp/devstack-ssh-agent` as a fallback; override it with `DEVSTACK_SSH_AUTH_SOCK` if needed.
38
44
39
45
3. Make `devstack` managing script executable.
40
46
@@ -52,19 +58,19 @@ Great LAMP devstack based on **Docker** & **Docker Compose** for your home progr
I have prepared docker configuration file for you. You can [download it here](https://github.com/dockette/devstack/blob/master/docker-compose.yml).
73
+
I have prepared docker configuration file for you. You can [download it here](https://github.com/dockette/devstack/blob/master/docker-compose.yml). The project uses the Docker Compose plugin command (`docker compose`) and keeps a legacy `docker-compose` fallback for older hosts.
@@ -75,17 +81,17 @@ If you didn't change the `DEVSTACK_DOCKER` variable, you should place your `dock
75
81
After you've followed install section, your devstack should be well prepared. One thing left, you should configure your devstack (passwords, folders, etc).
76
82
77
83
You should:
78
-
- setup your [**data homeland**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L132-L134)
79
-
- setup MySQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L108-L110)
- setup your [**data homeland**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L151-L153)
85
+
- setup MySQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L125-L127)
86
+
- setup PostgreSQL [**root password**](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L144-L146) if you enable PostgreSQL
81
87
82
88
### Userdirs
83
89
84
90
There are two kind of users inside these containers, **root** (main unix user) and **dfx** (special user with uid 1000 in all `dockette` based images).
85
91
86
-
You can find it in docker-compose.yml [file in section/container](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L139-L147).
92
+
You can find it in docker-compose.yml [file in section/container](https://github.com/dockette/devstack/blob/master/docker-compose.yml#L155-L166).
87
93
88
-
On the containers startup, your `users dir` are attached to `php72`, `php56`, `nodejs` containers. You can create your own `.bash_profile`, `.bashrc` files
94
+
On the containers startup, your `users dir` are attached to `php72` and to `php56`/`nodejs` when you enable those optional containers. You can create your own `.bash_profile`, `.bashrc` files
89
95
for easier manipulation inside docker containers.
90
96
91
97
[**TIP**] There used to be a skeleton in ubuntu/debian/mint system.
@@ -125,9 +131,9 @@ MariaDB container has predefined IP address `172.10.10.20`.
125
131
172.10.10.20 mariadb
126
132
```
127
133
128
-
### PostgreSQL
134
+
### PostgreSQL (optional)
129
135
130
-
PostgreSQL's default root password is `root`. You should change it.
136
+
If you enable PostgreSQL, its default root password is `root`. You should change it.
131
137
132
138
You have to setup in you application/configs proper `host` which is `postgresql`.
133
139
@@ -152,6 +158,9 @@ By default is devstack available on domains:
152
158
-www.local.dev (php)
153
159
- local.dev7 (php7)
154
160
-www.local.dev7 (php7)
161
+
162
+
When you enable PHP 5.6, these domains are available too:
163
+
155
164
- local.dev56 (php56)
156
165
-www.local.dev56 (php56)
157
166
@@ -168,16 +177,19 @@ You should add these lines to your `/etc/hosts` file.
0 commit comments