diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /idvoc-2025/docker-compose.yml | |
Diffstat (limited to 'idvoc-2025/docker-compose.yml')
| -rw-r--r-- | idvoc-2025/docker-compose.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/idvoc-2025/docker-compose.yml b/idvoc-2025/docker-compose.yml new file mode 100644 index 0000000..624b349 --- /dev/null +++ b/idvoc-2025/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3" + +services: + commentsinteractor: + container_name: commentsinteractor + hostname: commentsinteractor + build: + context: ./CommentsInteractor + dockerfile: Dockerfile + ports: + - 80:9000 + depends_on: + - commentsengine + networks: + - interactor + deploy: &maxence + resources: + limits: + cpus: '2' + memory: 150M + commentsengine: + container_name: commentsengine + hostname: commentsengine + build: + context: CommentsEngine + dockerfile: Dockerfile + depends_on: + - redis + networks: + - interactor + - database + deploy: *maxence + redis: + container_name: redis + hostname: redis + image: reg.undercloud.cri.epita.fr/docker/redis:8.0.1-alpine + volumes: + - mon_volume_nomme_pas_compris_comment_ca_marche:/data + networks: + - database + deploy: *maxence + +volumes: + mon_volume_nomme_pas_compris_comment_ca_marche: + +networks: + interactor: + database: |
