From 17cfb92d04020acf835e9294d3479c57bd1f2a45 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sat, 25 May 2024 20:21:29 +0530 Subject: update --- compose.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'compose.yaml') diff --git a/compose.yaml b/compose.yaml index cc56803..25dddf3 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,15 +1,26 @@ services: - main: + debian: + container_name: debian build: - context: ../../ - dockerfile: containers/debian/Dockerfile + context: . + dockerfile: c_debian/Dockerfile + secrets: + - id_rsa + - id_rsa_pub + stdin_open: true tty: true volumes: - - ~/.ssh:/home/compromyse/.ssh - ~/shared:/shared deploy: resources: limits: cpus: '4' memory: 56gb + + +secrets: + id_rsa: + file: /home/compromyse/.ssh/id_rsa + id_rsa_pub: + file: ~/.ssh/id_rsa.pub -- cgit v1.2.3