Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- mysql:
- container_name: "octopusjs_mysql"
- image: mysql
- volumes:
- - ./mysql_data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE: ${MYSQL_DATABASE}
- redis:
- container_name: "octopusjs_redis"
- image: redis
- api:
- container_name: "octopusjs_api"
- tty: true
- build: ./api/
- env_file:
- - .env
- links:
- - redis
- - mysql
- - mongo
- volumes:
- - ./api:/var/www
- ports:
- - "3003:${API_PORT}"
- client:
- container_name: "octopusjs_client"
- tty: true
- build: ./client/
- env_file:
- - .env
- ports:
- - "3002:${CLIENT_PORT}"
- links:
- - redis
- - api
- volumes:
- - ./client:/var/www
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement