mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-27 16:28:22 -05:00
c80ae2fd14
* feat: development docker compose * chore: update readme.md to mention docker compose * refactor: requested change * revert: README.md --------- Co-authored-by: alamin655 <mdalamin655@outlook.com>
27 lines
456 B
YAML
27 lines
456 B
YAML
---
|
|
version: "3.9"
|
|
services:
|
|
redis:
|
|
container_name: redis
|
|
image: redis:6.2.5-alpine
|
|
tty: true
|
|
hostname: surfx-redis
|
|
websurx:
|
|
container_name: websurx-dev
|
|
image: websurfx:dev
|
|
working_dir: /project
|
|
tty: true
|
|
build:
|
|
context: .
|
|
dockerfile: dev.Dockerfile
|
|
ports:
|
|
- 8080:8080
|
|
volumes:
|
|
- type: bind
|
|
source: .
|
|
target: /project
|
|
command:
|
|
- watch
|
|
- -x
|
|
- run
|