version: '3.8' services: api: image: php:8.3-cli container_name: ohmj-api hostname: api ports: - "8000:80" volumes: - /mnt/tools/docker/ohmj/api:/var/www/html - /mnt/tools/docker/ohmj/Scores:/var/www/html/legacy/Scores environment: - JWT_SECRET=${JWT_SECRET} command: php -S 0.0.0.0:80 -t /var/www/html router.php networks: - ohmj-network frontend: image: nginx:alpine container_name: ohmj-frontend hostname: partitions ports: - "8080:80" volumes: - /mnt/tools/docker/ohmj/frontend:/usr/share/nginx/html:ro networks: - ohmj-network networks: ohmj-network: driver: bridge