Skip to content

Instantly share code, notes, and snippets.

@deardooley
Last active September 15, 2015 11:16
Show Gist options
  • Select an option

  • Save deardooley/82e5a7b749d1ca302cf1 to your computer and use it in GitHub Desktop.

Select an option

Save deardooley/82e5a7b749d1ca302cf1 to your computer and use it in GitHub Desktop.
Docker Compose file for lamp, mysql, slurm, ftpd. Save as `docker-compose.yml` and change the hostname to your server or VM hostname. **Do not use this in production!!!**
web:
image: php:5.6-apache
hostname: docker.example.com
ports:
- "80:80"
- "443:443"
links:
- mysql
- ftpd
- slurm
mysql:
image: mariadb:latest
hostname: docker.example.com
ports:
- 3306:3306
environment:
MYSQL_DATABASE: agavecore
MYSQL_USER: agaveuser
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: mysecretpassword
slurm:
image: agaveapi/slurm
hostname: docker.example.com
ports:
- '10033:22'
ftpd:
images: agaveapi/pure-ftpd:latest
hostname: docker.example.com
ports:
- "20:20"
- "21:21"
- "30000:30000"
- "30001:30001"
- "30002:30002"
- "30003:30003"
- "30004:30004"
- "30005:30005"
- "30006:30006"
- "30007:30007"
- "30008:30008"
- "30009:30009"
- "30010:30010"
- "30011:30011"
- "30012:30012"
- "30013:30013"
- "30014:30014"
- "30015:30015"
- "30016:30016"
- "30017:30017"
- "30018:30018"
- "30019:30019"
- "30020:30020"
- "30021:30021"
- "30022:30022"
- "30023:30023"
- "30024:30024"
- "30025:30025"
- "30026:30026"
- "30027:30027"
- "30028:30028"
- "30029:30029"
- "30030:30030"
- "30031:30031"
- "30032:30032"
- "30033:30033"
- "30034:30034"
- "30035:30035"
- "30036:30036"
- "30037:30037"
- "30038:30038"
- "30039:30039"
- "30040:30040"
- "30041:30041"
- "30042:30042"
- "30043:30043"
- "30044:30044"
- "30045:30045"
- "30046:30046"
- "30047:30047"
- "30048:30048"
- "30049:30049"
- "30050:30050"
- "30051:30051"
- "30052:30052"
- "30053:30053"
- "30054:30054"
- "30055:30055"
- "30056:30056"
- "30057:30057"
- "30058:30058"
- "30059:30059"
- "30060:30060"
- "30061:30061"
- "30062:30062"
- "30063:30063"
- "30064:30064"
- "30065:30065"
- "30066:30066"
- "30067:30067"
- "30068:30068"
- "30069:30069"
- "30070:30070"
- "30071:30071"
- "30072:30072"
- "30073:30073"
- "30074:30074"
- "30075:30075"
- "30076:30076"
- "30077:30077"
- "30078:30078"
- "30079:30079"
- "30080:30080"
- "30081:30081"
- "30082:30082"
- "30083:30083"
- "30084:30084"
- "30085:30085"
- "30086:30086"
- "30087:30087"
- "30088:30088"
- "30089:30089"
- "30090:30090"
- "30091:30091"
- "30092:30092"
- "30093:30093"
- "30094:30094"
- "30095:30095"
- "30096:30096"
- "30097:30097"
- "30098:30098"
- "30099:30099"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment