|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| html | %!s(int64=2) %!d(string=hai) anos | |
| nginx | %!s(int64=2) %!d(string=hai) anos | |
| php-image | %!s(int64=2) %!d(string=hai) anos | |
| README.md | %!s(int64=6) %!d(string=hai) anos | |
| docker-compose.yml | %!s(int64=2) %!d(string=hai) anos | |
| nginx.conf | %!s(int64=2) %!d(string=hai) anos | |
| reset.sh | %!s(int64=2) %!d(string=hai) anos |
The pg_data -- needs to be whatever it wants to be (in order to initialize correctly).
Once it is setup, you can chown -R 1000:100 pg_data and use the user: "1000:1000" in docker-compose.
No more port 9000. We use a socket. :D
I should add it into the build so that can be adjusted. But I'm not going to bother at this point.
Ok, and nginx, php, they all just work as 1000:1000. :D Even the socket works.