aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
blob: 70de7e050b4b786bfb27d37e6eb4a55b429a71f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '3'

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

volumes:
  repositories: