38 lines
844 B
YAML
38 lines
844 B
YAML
version: "3.1"
|
|
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: nginx
|
|
ports:
|
|
- "33100:80"
|
|
- "449"
|
|
volumes:
|
|
- ./nginx/crawling.conf:/etc/nginx/conf.d/default.conf
|
|
restart: unless-stopped
|
|
env_file: ./.env
|
|
depends_on:
|
|
- gateway
|
|
|
|
gateway:
|
|
image: node:lts-alpine
|
|
container_name: cro-gateway
|
|
volumes:
|
|
- "${SOURCE_VOLUME}"
|
|
entrypoint: node /var/www/crawling/cro-app-gateway
|
|
restart: unless-stopped
|
|
env_file: ./.env
|
|
|
|
andygrace:
|
|
image: node:lts-alpine
|
|
container_name: crs-andygrace
|
|
volumes:
|
|
- "${SOURCE_VOLUME}"
|
|
entrypoint: node /var/www/crawling/crs-app-andygrace
|
|
restart: unless-stopped
|
|
env_file: ./.env
|
|
|
|
networks:
|
|
default:
|
|
name: crawling
|
|
external: true
|