aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker-compose.yml
blob: c8bf37f89a8eaf5ea04c5a34eb10f8261e3d2758 (plain) (tree)
1
2
3
4
5
6
7
8
9






                         

         
          
                          

                
                                   



                                    

                                         
                                 
           
                          


                                             

                         




                                    
version: '3.4'

x-default-settings:
  &default-settings
  logging:
    driver: journald
  restart: unless-stopped

services:
  cgitize:
    << : *default-settings
    build:
      context: .
      dockerfile: docker/Dockerfile
    environment:
      # Every 3 hours:
      SCHEDULE: '0 */3 * * *'
    image: egortensin/cgitize:latest
    volumes:
      - ./examples/docker:/etc/cgitize:ro
      - repositories:/mnt/cgitize
  frontend:
    << : *default-settings
    build:
      context: ./docker/frontend
    image: egortensin/cgitize-frontend:latest
    ports:
      - '127.0.0.1:80:80'
    volumes:
      - repositories:/mnt/cgitize:ro

volumes:
  repositories: