docker-cloud.yml 512 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
version: "3.3"

volumes:
  dbdata:

configs:
  nginx_conf:
    file: ./schedules_web/nginx.conf

networks:
  front:
  back:

services:
  api:
16
    image: registry.srct.gmu.edu/srct/schedules/api:v0.1.0
17
18
    networks:
      back:
19
20
21
    environment:
      RAILS_LOG_TO_STDOUT: "yes"
    command: "rails s"
22
23

  web:
24
    image: registry.srct.gmu.edu/srct/schedules/web:v0.1.0
25
26
27
28
29
    networks:
      front:
      back:
    ports:
      - 8085:80
30
31
32
33
    configs:
      - source: nginx_conf
        target: /etc/nginx/nginx.conf