commit 86747cae8162853a73e0b6c91488711cde8512de Author: Mayur Date: Thu Oct 24 11:16:56 2024 +0000 Add docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..68904d2 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,21 @@ +version: "3.4" +services: + os: + build: + dockerfile: ./Dockerfile + context: ./ + tty: true + volumes: + - srvroot:/var/www + - apacheconf:/etc/apache2 + - phpconf:/usr/local/etc/php + - type: bind + source: ./authorized_keys + target: /root/.ssh/authorized_keys + content: | + # Authorized keys + ports: + - "${PUBLIC_SSH_PORT}:2022" + environment: + - container=podman + - SSH_PUBLIC_PORT=${PUBLIC_SSH_PORT:-3300} \ No newline at end of file