This combines nginx and code-server on one image with a few built-in scripts
903
https://github.com/thegreatestgiant/A-Website
They are for my mix of code-server and nginx with my custom script new-site which adds another site on a different port
These are the same except
services:
website:
restart: always
container_name: a-website
ports:
- 8080:8080
- 600:600
volumes:
- web-code:/root/.local/share/code-server
- web-sites:/sites
- web-st-av:/etc/nginx/sites-available
- web-st-en:/etc/nginx/sites-enabled
image: thegreatestgiant/website
volumes:
web-code:
web-sites:
web-st-av:
web-st-en:
services:
website:
restart: always
container_name: swarm
network_mode: host
image: thegreatestgiant/website:swarm
Content type
Image
Digest
sha256:d79d6876d…
Size
252.3 MB
Last updated
over 2 years ago
docker pull thegreatestgiant/website