Created
          May 16, 2018 16:43 
        
      - 
      
- 
        Save rh0dium/a02aa4a63bc87d74425fec3d85f28e31 to your computer and use it in GitHub Desktop. 
    IP Central Docker
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | version: "3.1" | |
| services: | |
| app: | |
| image: icmanage1/envision:ipcentral-latest | |
| links: | |
| - db | |
| - perforce | |
| env_file: | |
| - .env | |
| environment: | |
| DJANGO_SETTINGS_MODULE: 'settings.dev_docker' | |
| DJANGO_MANAGEPY_COLLECTSTATIC: 'on' | |
| DJANGO_MANAGEPY_MIGRATE: 'on' | |
| SKIP_SQL: 'off' | |
| ports: | |
| - 8001:8001 | |
| networks: | |
| - main | |
| depends_on: | |
| - db | |
| command: uwsgi --ini /data/app/config/docker/app/uwsgi.ini | |
| volumes: | |
| - uwsgi_socket:/var/run/uwsgi:rw | |
| - app_static:/data/app/static:rw | |
| nginx: | |
| image: icmanage1/envision:nginx-latest | |
| volumes: | |
| - uwsgi_socket:/var/run/uwsgi:rw | |
| - app_static:/static:ro | |
| depends_on: | |
| - app | |
| ports: | |
| - 80:80 | |
| links: | |
| - app:app | |
| networks: | |
| - main | |
| perforce: | |
| image: icmanage1/envision:perforce-latest | |
| networks: | |
| main: | |
| ipv4_address: 172.19.0.16 | |
| env_file: | |
| - .env | |
| ports: | |
| - 1666:1666 | |
| volumes: | |
| - perforce_data:/var/lib/perforce | |
| db: | |
| restart: always | |
| image: icmanage1/envision:mariadb-latest | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| - db_run:/var/run/mysqld | |
| env_file: | |
| - .env | |
| ports: | |
| - 3306:3306 | |
| networks: | |
| - main | |
| memcached: | |
| image: memcached:alpine | |
| ports: | |
| - 11211:11211 | |
| networks: | |
| - main | |
| networks: | |
| main: | |
| driver: bridge | |
| ipam: | |
| config: | |
| - subnet: 172.19.0.0/24 | |
| volumes: | |
| db_data: | |
| db_run: | |
| perforce_data: | |
| uwsgi_socket: | |
| app_static: | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment