Sign inSign up

syedarsalanhussainshah/opensourcesocialnetwork

By syedarsalanhussainshah

•Updated 3 months ago

Spin up your own private social netowork like facebook with Open Source Social Network (OSSN) free!

Image
Internet of things
1

166

syedarsalanhussainshah/opensourcesocialnetwork repository overview

Create your own social network like facebook with Open Source Social Network (OSSN) software in seconds using the Docker Hub image.

Landing PageNewsfeedProfile Page
open source social network landing pageopen source social network newsfeedopen source social network profile page

⁠Prerequisites

  • Docker installed

⁠Quick Start

Pull and run the latest OSSN image:

docker run -d -p 80:80 --name ossn syedarsalanhussainshah/opensourcesocialnetwork:latest

If you're using a firewall such as UFW, allow HTTP traffic:

sudo ufw allow 80/tcp && sudo ufw reload

⁠Access OSSN

Once the container is running, open your browser and visit:

  • http://localhost
  • http://<your-server-ip>
  • Or your domain name (e.g. http://yourwebsite.com) if it points to your server.

Follow the installation wizard and complete the setup.

⁠Container Management

⁠View logs
docker logs -f ossn
⁠Stop the container
docker stop ossn
⁠Start the container
docker start ossn
⁠Restart the container
docker restart ossn
⁠Remove the container
docker rm -f ossn

⁠Notes

  • The database hostname for OSSN is db (matching service name in Docker Compose).
  • Persistent data is stored in Docker volumes (db_data for MySQL, ossn_data for OSSN files).
  • To enable HTTPS, additional Apache configuration and SSL certificates are needed.

⁠Troubleshooting

  • If you encounter database connection errors, ensure containers are running and OSSN connects using hostname db.
  • For clean installs, remove volumes with docker-compose down -v to reset data.
  • Check logs for errors: docker-compose logs -f

Happy Open Source Social Networking! 🎉

Tag summary

Content type

Image

Digest

sha256:86996aa17…

Size

183.8 MB

Last updated

3 months ago

docker pull syedarsalanhussainshah/opensourcesocialnetwork