mirror of
https://github.com/gabrielkheisa/meme-generator-nodejs
synced 2024-12-03 16:53:19 +07:00
update
This commit is contained in:
parent
1526236f7d
commit
010cbefde0
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
13
README.md
Executable file
13
README.md
Executable file
@ -0,0 +1,13 @@
|
||||
# Meme generator rewritten on Node.js
|
||||
|
||||
This repository contains a previous LEMP stack meme generator, rewritten on Node.js along with necessary steps to set up and run the app.
|
||||
|
||||
## Getting Started
|
||||
|
||||
### 1. Clone the Repository
|
||||
Clone this repository to your local machine:
|
||||
|
||||
```bash
|
||||
git clone https://repo.gabrielkheisa.xyz/gabrielkheisa/meme-generator-nodejs.git
|
||||
cd repository_name
|
||||
```
|
42
docker-compose.yml
Normal file
42
docker-compose.yml
Normal file
@ -0,0 +1,42 @@
|
||||
# ./docker-compose.yml
|
||||
version: '3'
|
||||
|
||||
networks:
|
||||
meme-generator-net:
|
||||
external: true
|
||||
name: "meme-generator-net"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: adhocore/lemp:8.1
|
||||
# For different app you can use different names. (eg: )
|
||||
container_name: memegenerator
|
||||
volumes:
|
||||
# app source code
|
||||
- ./html:/var/www/html
|
||||
# db data persistence
|
||||
# Here you can also volume php ini settings
|
||||
# - /path/to/zz-overrides:/usr/local/etc/php/conf.d/zz-overrides.ini
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: supersecurepwd
|
||||
MYSQL_DATABASE: appdb
|
||||
MYSQL_USER: dbusr
|
||||
MYSQL_PASSWORD: securepwd
|
||||
# for postgres you can pass in similar env as for mysql but with PGSQL_ prefix
|
||||
networks:
|
||||
- "meme-generator-net"
|
||||
restart: always
|
||||
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin/phpmyadmin
|
||||
container_name: phpmyadmin_memegenerator
|
||||
restart: always
|
||||
environment:
|
||||
- PMA_HOST=app
|
||||
- PMA_PORT=3306
|
||||
networks:
|
||||
- "meme-generator-net"
|
||||
|
||||
volumes:
|
||||
db_data: {}
|
0
package-lock.json
generated
Normal file → Executable file
0
package-lock.json
generated
Normal file → Executable file
0
package.json
Normal file → Executable file
0
package.json
Normal file → Executable file
0
public/error.html
Normal file → Executable file
0
public/error.html
Normal file → Executable file
0
public/index.html
Normal file → Executable file
0
public/index.html
Normal file → Executable file
0
public/process.ejs
Normal file → Executable file
0
public/process.ejs
Normal file → Executable file
0
table_structure_ronaldo.sql
Normal file → Executable file
0
table_structure_ronaldo.sql
Normal file → Executable file
0
test-sanitize.js
Normal file → Executable file
0
test-sanitize.js
Normal file → Executable file
Loading…
Reference in New Issue
Block a user