File size: 478 Bytes
c5eab62
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
  monica-proxy:
    build:
      context: .
      dockerfile: Dockerfile
    image: monica-proxy
    container_name: monica-proxy
    restart: unless-stopped
    command: ["./monica"]
    environment:
      - MONICA_COOKIE=${MONICA_COOKIE}
      - BEARER_TOKEN=${BEARER_TOKEN}

  nginx:
    image: nginx:latest
    container_name: monica-nginx
    ports:
      - "8080:80"
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
    depends_on:
      - monica-proxy