diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c8d675b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,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}' |
