-
-
Save soapdog/1a35caa024a1b36d4c0c1f41d4a50dc1 to your computer and use it in GitHub Desktop.
version: '2' | |
services: | |
web: | |
depends_on: | |
- db | |
build: academy-server/. | |
image: amoralabs/academy | |
ports: | |
- "8080:80" | |
- "8443:443" | |
volumes: | |
- ../:/var/www/html/ | |
environment: | |
ACADEMY_DB_HOST: database | |
ACADEMY_DB_USER: theuser | |
ACADEMY_DB_PASSWORD: thepassword | |
links: | |
- "db:database" | |
db: | |
image: mysql | |
ports: | |
- "3307:3306" | |
volumes: | |
- ./academy-db:/docker-entrypoint-initdb.d | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: thepassword | |
MYSQL_DATABASE: thedatabase | |
MYSQL_USER: theuser | |
MYSQL_PASSWORD: supersecretpassword | |
@fabiomen10 Hi, I don't have that image anymore. I never completed that project. I went to look for the sources and apparently this was the last copy I placed online https://bitbucket.org/amoralabs/academy-server-lua/src/master/
To use it you'll need to install sailor and also i18n, lua-markdown-extra, sha1 from luarocks. There are some hardcoded paths to the server. This code was never meant to be shared and is probably not really safe. Consider it untested. I couldn't get it to run here.
@soapdog Oh, that's so cool. I thought there'd be no answer, because of the time of posting this gist. But you shared your time answering me. Thank you so much again. I forked your repository at Bitbucket and I'll update that. 👍
@fabiomen10 glad I could help. I haven't touched that in a long while. You might want to learn more about Sailor, they're looking for new maintainers. Also, I suspect that Lapis Framework is the one that is most popular these days.
Hi Andre! Thanks for sharing this wonder. Can you put this image in the docker hub again, please? Or show me how I can do that too, if possible. I accept any tip. I am a voracious apprentice and a Brazilian lover of projects in Lua.