This repository has been archived on 2022-10-14. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-09 22:19:48 -07:00
2021-06-09 22:13:26 -07:00
2021-06-09 22:13:26 -07:00
2021-06-09 22:13:26 -07:00
2021-06-09 22:19:48 -07:00
2021-06-09 22:13:26 -07:00

gulag-dockerized

Easily deploy gulag + gulag-web with an existing nginx server. TODO: For even simpler deployment where there is no web server, an nginx+letsencrypt service could be added to this stack.

NOT TESTED YET!!

How to use

  • Download or clone the repository to /opt/gulag-dockerized. If you put it elsewhere, you'll need to update the corresponding web root in ./config/nginx.conf.

  • Edit ./config/gulag.py and ./config/gulag-web.py as needed.

  • Start the stack with docker-compose up -d.

  • Install nginx and certbot if you do not have them.

  • You'll need your desired domain name pointed to your host with a wildcard (i.e. example.com and *.example.com).

  • Create certificate for your domain with certbot:

H=example.com certbot certonly --nginx -d $H -d osu.$H -d a.$H -d b.$H -d c.$H -d ce.$H -d c4.$H -d c5.$H -d c6.$H -d assets.$H 

If you can configure a certbot DNS plugin then you can get a wildcard certificate instead, otherwise specifying each domain is simpler.

  • Replace all example.com in ./config/nginx.conf with your domain.

  • Copy/move/symlink ./config/nginx.conf to /etc/nginx/conf.d/gulag.conf and reload nginx.

Notes

Description
gulag osu server + guweb frontend in docker-compose stack
Readme 56 KiB
Languages
Python 92.4%
Dockerfile 7.6%