mirror of
https://gricad-gitlab.univ-grenoble-alpes.fr/tienyoun/presentations.git
synced 2026-09-26 21:41:08 +00:00
Chore : move files out of directory
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user