aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 451b4e76a7ee2bd9e1fc9d95d97f41da1158fe5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
version: '3.8'
services:
  vnext:
    network_mode: bridge
    build:
      context: .
      dockerfile: vnext/server/Dockerfile
    restart: unless-stopped
    ports:
      - "127.0.0.1:8081:8081"
    extra_hosts:
      - "host.docker.internal:host-gateway"
    environment:
      JUICK_FCM_SERVICE_ACCOUNT_FILE: ${JUICK_FCM_SERVICE_ACCOUNT_FILE}
      DEBUG: sender,durov,http,event,hms,android
      NODE_CONFIG_DIR: /etc/juick
      PG_HOST: host.docker.internal
      DATABASE_URL: postgres://juick@host.docker.internal/juick
    volumes:
      - /etc/juick:/etc/juick