blob: c8d675b6fe06672646d808e954b1ed960638bfdd (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 | version: '3.8'
services:
  apcom:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        DOCKER_PORT: ${APP_DOCKER_PORT_PROD:-3000}
    container_name: apcom
    env_file:
      - .env
    ports:
      - '${APP_DOCKER_PORT_PROD:-3000}:${APP_DOCKER_PORT_PROD:-3000}'
    restart: always
  apcom-dev:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        DOCKER_PORT: ${APP_DOCKER_PORT_DEV:-3200}
    container_name: apcom-dev
    env_file:
      - .env
    ports:
      - '${APP_DOCKER_PORT_DEV:-3200}:${APP_DOCKER_PORT_DEV:-3200}'
 |