aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker-compose.yml
blob: 21c061c19f59860fd00e73f48876b320ab52abba (plain) (tree)
1
2
3
4
            

         
          










                                         
                                 













                                             
version: '3'

services:
  cgitize:
    build:
      context: .
    environment:
      # Every 3 hours:
      SCHEDULE: '0 */3 * * *'
    image: egortensin/cgitize:latest
    logging:
      driver: journald
    restart: unless-stopped
    volumes:
      - ./examples/docker:/etc/cgitize:ro
      - repositories:/mnt/cgitize
  frontend:
    build:
      context: ./docker/frontend
    image: egortensin/cgitize-frontend:latest
    logging:
      driver: journald
    ports:
      - '127.0.0.1:80:80'
    restart: unless-stopped
    volumes:
      - repositories:/mnt/cgitize:ro

volumes:
  repositories: