php-8.3-contaniner/docker-compose.yaml

23 lines
490 B
YAML

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}