runner

Ansible role that deployes services on my runner machine

769 BJ2
tandoor-compose.yml.j2
769 B37 lines • plaintext
1
2services:
3  tandoor-db:
4    image: {{ container_images.postgres }}
5    container_name: tandoor-db
6    restart: unless-stopped
7    env_file:
8      - tandoor.env
9    volumes:
10      - {{ tandoor_data_dir }}/db:/var/lib/postgresql/data
11    networks:
12      - {{ runner_docker_network }}
13  tandoor:
14    container_name: tandoor
15    image: {{ container_images.tandoor }}
16    restart: unless-stopped
17    
18    env_file:
19      - tandoor.env
20    
21    volumes:
22      - {{ tandoor_media_dir }}:/opt/recipes/mediafiles
23      - {{ tandoor_static_dir }}:/opt/recipes/staticfiles
24    
25    ports:
26      - "{{ tandoor_port }}:8085"
27    
28    depends_on:
29      - tandoor-db
30    
31    networks:
32      - {{ runner_docker_network }}
33
34networks:
35  {{ runner_docker_network }}:
36    external: true
37