Skip to content

Instantly share code, notes, and snippets.

@michael-manley
Created October 26, 2017 19: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 michael-manley/69f6556e859dded662716f238cfe1607 to your computer and use it in GitHub Desktop.
Save michael-manley/69f6556e859dded662716f238cfe1607 to your computer and use it in GitHub Desktop.
mmanley@NTE-COREOS-1 ~/shopgws $ cat docker-compose.yml
version: '2'
services:
web:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./http_root/www:/www
- ./http_root/repo:/repo
- ./http_root/symbols:/symbols
- ./conf/www.conf:/etc/nginx/conf.d/10-www.conf
- ./conf/repo.conf:/etc/nginx/conf.d/10-repo.conf
- ./conf/redmine.conf:/etc/nginx/conf.d/10-redmine.conf
- ./conf/symbols.conf:/etc/nginx/conf.d/10-symbols.conf
networks:
- nasutek
- gws
php:
image: hermsi/alpine-fpm-php
volumes:
- ./http_root/www:/www
- ./conf/php-log.conf:/usr/local/etc/php-fpm.d/zz-log.conf
- ./conf/typo3.ini:/usr/local/etc/php/conf.d/typo3.ini
networks:
- nasutek
db:
image: mariadb:10.2
volumes:
- ./mariadb:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD:
networks:
- nasutek
redmine:
image: redmine
volumes:
- ./conf/routes.rb:/usr/src/redmine/config/routes.rb
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD:
REDMINE_DB_DATABASE: redmine
networks:
- nasutek
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: nasutekweb_db_1
PMA_ABSOLUTE_URI: http://www.nasutek.com/phpmyadmin/
volumes:
- /sessions
networks:
- nasutek
pureftpd:
image: gimoh/pureftpd
ports:
- "21:21"
- "30000-30009:30000-30009"
volumes:
- ./ftpdata/anon:/var/lib/ftp
- ./ftpdata/users:/srv/ftp
- ./conf/pureftpd:/etc/pureftpd
- ./http_root/repo:/var/lib/ftp/repo
environment:
PURE_USERS: isolated+virt
PURE_VIRT_USER_HOME_PATTERN: /srv/ftp/@USER@/./@USER@
command: -c 10 -p 30000:30009 -P 158.69.213.32
networks:
- nasutek
networks:
nasutek:
driver: bridge
gws:
external:
name: gws_internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment