[DOCKER] Fixed docker environment to properly configure the app environment

This commit is contained in:
Hugo Sales
2020-05-06 12:04:59 +00:00
committed by Hugo Sales
parent cf1a9fe893
commit b1afa9cf91
8 changed files with 36 additions and 24 deletions

5
docker/nginx/domain.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
cat /var/nginx/social.conf | \
sed -r "s/%hostname%/$domain/g; s/%hostname_root%/$domain_root/g" > \
/etc/nginx/conf.d/social.conf