Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 71 additions & 72 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,72 +1,71 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace file
go.work

# env
.env
.env*.local
.env.app
.env.dashboard
.env.indexer

# community
community.json

# generated data
.community

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

/outputs
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace file
go.work

# env
.env*.local
.env.app
.env.dashboard
.env.indexer

# community
community.json

# generated data
.community

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

/outputs
config.bat
72 changes: 36 additions & 36 deletions README copy.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
148 changes: 74 additions & 74 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
services:
server:
image: nginx:latest
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./.community/nginx/conf/:/etc/nginx/conf.d/:ro
- certs_www_volume:/var/www/certbot/:ro
- certs_conf_volume:/etc/nginx/ssl/:ro
- web_volume:/var/www/html/:ro
- config_volume:/var/www/config/:ro
- uploads_volume:/var/www/uploads/:ro
networks:
cwnet:
aliases:
- cw-server
server-cert:
image: nginx:latest
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./.community/nginx_cert/conf/:/etc/nginx/conf.d/:ro
- certs_www_volume:/var/www/certbot/:ro
- certs_conf_volume:/etc/nginx/ssl/:ro
networks:
cwnet:
aliases:
- cw-server-cert
certbot:
image: certbot/certbot:latest
volumes:
- certs_www_volume:/var/www/certbot/:rw
- certs_conf_volume:/etc/letsencrypt/:rw
depends_on:
- server-cert

volumes:
web_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/web
uploads_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/uploads/
config_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/config
certs_www_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/certbot/www/
certs_conf_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/certbot/conf/

networks:
cwnet:
services:
server:
image: nginx:latest
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./.community/nginx/conf/:/etc/nginx/conf.d/:ro
- certs_www_volume:/var/www/certbot/:ro
- certs_conf_volume:/etc/nginx/ssl/:ro
- web_volume:/var/www/html/:ro
- config_volume:/var/www/config/:ro
- uploads_volume:/var/www/uploads/:ro
networks:
cwnet:
aliases:
- cw-server
server-cert:
image: nginx:latest
ports:
- 80:80
- 443:443
restart: always
volumes:
- ./.community/nginx_cert/conf/:/etc/nginx/conf.d/:ro
- certs_www_volume:/var/www/certbot/:ro
- certs_conf_volume:/etc/nginx/ssl/:ro
networks:
cwnet:
aliases:
- cw-server-cert
certbot:
image: certbot/certbot:latest
volumes:
- certs_www_volume:/var/www/certbot/:rw
- certs_conf_volume:/etc/letsencrypt/:rw
depends_on:
- server-cert
volumes:
web_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/web
uploads_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/uploads/
config_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/config
certs_www_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/certbot/www/
certs_conf_volume:
driver: local
driver_opts:
o: bind
type: none
device: ${PWD}/.community/certbot/conf/
networks:
cwnet:
name: cwnet
Loading