0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 06:58:22 -05:00
websurfx/dev.docker-compose.yml
leone c80ae2fd14
Docker compose for development (#336)
* 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>
2023-10-17 19:47:53 +03:00

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