Dockerized Gopher server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

1 year ago
1 year ago
1 year ago
  1. # DockerGopherServer
  2. This is a dockerized version of a gopher server.
  3. ## Environment-variables
  4. Set the following variables with the -e tag.
  5. | Name | Usage | Default |
  6. | ------------- | --------------------------------------------------- | --------- |
  7. | SERVER_NAME | set this to your IP/Domain (no "gopher://" needed!) | localhost |
  8. ## Volumes
  9. Set the following volumes with the -v tag.
  10. | Volume-Name | Container mount | Description |
  11. | -------------------- | --------------- | ----------------------------- |
  12. | gopherwebdir | /var/gopher | directory for the gopher page |
  13. ## Ports
  14. Set the following ports with the -p tag.
  15. | Container port | Recommended outside port | Protocol | Description |
  16. | -------------- | ------------------------ | -------- | ---------------------------- |
  17. | 70 | 70 | TCP | port for the gopher-protocol |
  18. ## Example run-command
  19. ``` docker run --name gopherserver -v gopherwebdir:/var/gopher -p 70:70 --restart unless-stopped -e SERVER_NAME=<domain/ip_here> -d tiynger/gopherserver ```