Chore : move files out of directory

This commit is contained in:
Nathan Tien You
2024-09-18 08:54:54 +00:00
parent f282f6cc97
commit f47127cd1d
28 changed files with 0 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
database:
image: redis:alpine3.20
volumes:
- database-data:/data
command: redis-server --save 60 1
networks:
- back
frontend:
image: docker-demo/front
build: ./front
volumes:
- ./test.txt:/usr/local/apache2/htdocs/test.txt
ports:
- 80:80
networks:
- front
backend:
image: docker-demo/backend
build: ./back
environment:
- REDIS_URL=redis://database
depends_on:
- database
networks:
- back
- front
networks:
front:
back:
volumes:
database-data: