Skip to content

Instantly share code, notes, and snippets.

@rojenzaman
Last active October 17, 2022 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rojenzaman/c6bd978a3dca9a90661baba96186c46d to your computer and use it in GitHub Desktop.
Save rojenzaman/c6bd978a3dca9a90661baba96186c46d to your computer and use it in GitHub Desktop.
Amusewiki Play With Docker
# docker swarm-based
version: '3.8'
services:
app:
# texlive-base and texlive-full not supported due to size
image: rojen/amusewiki:package
environment:
#- PWD_HOST_FQDN=${PWD_HOST_FQDN}
- PWD_HOST_FQDN=labs.play-with-docker.com
- SESSION_ID=${SESSION_ID}
- CONTAINER_IS_IN_PWD=true
- PWD_PORT=80 # change to 443 if you want to use https
- AMW_WORKERS=5
ports:
- 80:80 # change to 443:443 if you want to use https
version: '3.8'
services:
app:
image: rojen/amusewiki:texlive-minimal
environment:
- PWD_HOST_FQDN=labs.play-with-docker.com
- SESSION_ID=${SESSION_ID}
- CONTAINER_IS_IN_PWD=true
- PWD_PORT=80
- AMW_WORKERS=5
ports:
- 80:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment