git clone git@github.com:jdecode/online-compiler.git \
&& cd online-compiler \
&& docker-compose up --build -d \
&& docker-compose exec online-compiler-api composer install \
&& docker-compose exec online-compiler-api composer run dev-setup \
&& git config core.filemode false
http://100.102.1.1
Admin URL (also accessible from the above link) : http://100.102.1.1/admin
Admin credentials : admin@admin.com / admin
Everything should be working fine. If not, please open an issue.
Port mappings in docker-compose.yml
are as following:
- 2100 : 80
- HTTP
- Service-and-container name =
online-compiler-api
- IP =
100.102.1.1
- 2101 : 2101
- Vite
- Config file :
vite.config.js
- 2110: 5432
- Postgres
- Service-and-container name =
online-compiler-pg
- IP =
100.102.1.2
Files to update service/container names:
docker-compose.yml
composer.json
.circleci/config.yml
.github/workflows/ci.yml
Files to update IP address:
docker-compose.yml
.env.example
.env.testing
Files to update port numbers:
vite.config.js