resume_page

Log | Files | Refs | README

compose.yml (1237B)


      1 services:
      2   caddy:
      3     image: caddy:2-alpine
      4     restart: unless-stopped
      5     ports:
      6       - "80:80"
      7       - "443:443"
      8     volumes:
      9       - ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
     10       - stagit_www:/www:ro
     11     depends_on:
     12       - cv
     13 
     14   cv:
     15     build: ./cv
     16     init: true
     17     ports:
     18       - "127.0.0.1:8000:8000"
     19     restart: unless-stopped
     20     develop:
     21       watch:
     22         - action: sync+restart
     23           path: ./cv/main.py
     24           target: /app/main.py
     25         - action: sync+restart
     26           path: ./cv/index.html
     27           target: /app/index.html
     28         - action: sync
     29           path: ./cv/style.css
     30           target: /app/style.css
     31         - action: sync
     32           path: ./cv/favicon.svg
     33           target: /app/favicon.svg
     34         - action: sync
     35           path: ./cv/robots.txt
     36           target: /app/robots.txt
     37         - action: sync
     38           path: ./cv/sitemap.xml
     39           target: /app/sitemap.xml
     40         - action: rebuild
     41           path: ./cv/Dockerfile
     42         - action: rebuild
     43           path: ./cv/requirements.txt
     44 
     45   stagit:
     46     build: ./stagit
     47     restart: unless-stopped
     48     init: true
     49     volumes:
     50       - ./stagit:/config:ro
     51       - stagit_git:/git
     52       - stagit_www:/www
     53 
     54 volumes:
     55   stagit_git:
     56   stagit_www: