chore: Add dockers
This commit is contained in:
parent
f9a729f22c
commit
15091444be
7 changed files with 992 additions and 763 deletions
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
services:
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- backend
|
||||
restart: always
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- "/srv/lucida-queue:/data"
|
||||
depends_on:
|
||||
- tor
|
||||
restart: always
|
||||
|
||||
tor:
|
||||
container_name: tor
|
||||
image: osminogin/tor-simple
|
||||
ports:
|
||||
- "9050:9050"
|
||||
stop_grace_period: 1m
|
||||
restart: always
|
Reference in a new issue